Clarify --help for setup-election-config tool
Add some basic info to make it clear how to use the setup-election-config tool. Change-Id: I43ee066394d1307540d22f977b071616870f2166
This commit is contained in:
parent
8e021580ad
commit
fba623a4cd
@ -70,10 +70,11 @@ def main():
|
||||
'the election'))
|
||||
# We can't rely on the current schedule being codified in the releases
|
||||
# repo so just get the date from the command line.
|
||||
parser.add_argument('date', type=valid_date)
|
||||
parser.add_argument('release')
|
||||
parser.add_argument('date', type=valid_date, help='in the form YYYY-MM-DD')
|
||||
parser.add_argument('release', help='release name')
|
||||
parser.add_argument('type', choices=['TC', 'PTL'])
|
||||
parser.add_argument('--tc-seats', default=6, choices=['6', '7'])
|
||||
parser.add_argument('--tc-seats', default=6, choices=['6', '7'],
|
||||
help='number of TC seats up for election')
|
||||
|
||||
args = parser.parse_args()
|
||||
args.date = args.date
|
||||
|
Loading…
x
Reference in New Issue
Block a user