mirror of https://github.com/apache/lucene.git
- In help text, show default RC number.
- In help text, state that the default --root value is '.' (the current directory)
This commit is contained in:
parent
0d4aa0b8d1
commit
ceed8b7937
|
@ -181,9 +181,9 @@ def parse_config():
|
||||||
parser.add_argument('--sign', metavar='KEYID',
|
parser.add_argument('--sign', metavar='KEYID',
|
||||||
help='Sign the release with the given gpg key')
|
help='Sign the release with the given gpg key')
|
||||||
parser.add_argument('--rc-num', metavar='NUM', type=int, default=1,
|
parser.add_argument('--rc-num', metavar='NUM', type=int, default=1,
|
||||||
help='Release Candidate number, required')
|
help='Release Candidate number. Default: 1')
|
||||||
parser.add_argument('--root', metavar='WORKING_TREE_PATH', default='.',
|
parser.add_argument('--root', metavar='PATH', default='.',
|
||||||
help='Root of Git working tree for lucene-solr')
|
help='Root of Git working tree for lucene-solr. Default: "." (the current directory)')
|
||||||
config = parser.parse_args()
|
config = parser.parse_args()
|
||||||
|
|
||||||
if not config.prepare and config.sign:
|
if not config.prepare and config.sign:
|
||||||
|
|
Loading…
Reference in New Issue