From ceed8b7937e7d6fed4e2d5527ebe5e1a977c69ca Mon Sep 17 00:00:00 2001 From: Steve Rowe Date: Mon, 23 May 2016 15:55:51 -0400 Subject: [PATCH] - In help text, show default RC number. - In help text, state that the default --root value is '.' (the current directory) --- dev-tools/scripts/buildAndPushRelease.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dev-tools/scripts/buildAndPushRelease.py b/dev-tools/scripts/buildAndPushRelease.py index 980ef84f2cb..155f14fd961 100644 --- a/dev-tools/scripts/buildAndPushRelease.py +++ b/dev-tools/scripts/buildAndPushRelease.py @@ -181,9 +181,9 @@ def parse_config(): parser.add_argument('--sign', metavar='KEYID', help='Sign the release with the given gpg key') parser.add_argument('--rc-num', metavar='NUM', type=int, default=1, - help='Release Candidate number, required') - parser.add_argument('--root', metavar='WORKING_TREE_PATH', default='.', - help='Root of Git working tree for lucene-solr') + help='Release Candidate number. Default: 1') + parser.add_argument('--root', metavar='PATH', default='.', + help='Root of Git working tree for lucene-solr. Default: "." (the current directory)') config = parser.parse_args() if not config.prepare and config.sign: