diff options
author | emkael <emkael@tlen.pl> | 2024-01-15 18:17:02 +0100 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2024-01-15 18:17:02 +0100 |
commit | 4defbb69b762c045a957a1129771fc7d8229a79b (patch) | |
tree | bed4b90e33f2d84aac84e55766b504d4d920140f /pysquaredeal.py | |
parent | 20ee8fce32373710be9da19b5be5bcb99fae3f44 (diff) |
Switch command order around
Diffstat (limited to 'pysquaredeal.py')
-rw-r--r-- | pysquaredeal.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pysquaredeal.py b/pysquaredeal.py index b26801d..246e2c6 100644 --- a/pysquaredeal.py +++ b/pysquaredeal.py @@ -20,14 +20,14 @@ argparser_name.add_argument('event_name', metavar='EVENT_NAME', help='event name argparser_di = subparsers.add_parser('set_di', help='edit event delayed information (or its value)') argparser_di.add_argument('delayed_information', metavar='DELAYED_INFO', help='(description of) delayed information') -argparser_publish = subparsers.add_parser('publish', help='mark SQD as published') - argparser_phase = subparsers.add_parser('add_phase', help='add event phase') argparser_phase.add_argument('sessions', metavar='NO_SESSIONS', help='number of sessions in phase', type=int) argparser_phase.add_argument('boards', metavar='NO_BOARDS', help='number of boards in each session', type=int) argparser_phase.add_argument('prefix', metavar='PREFIX', help='ouput file prefix ("#" will be replaced by session number)') argparser_phase.add_argument('--description', required=False, metavar='DESCRIPTION', help='phase description') +argparser_publish = subparsers.add_parser('publish', help='mark SQD as published') + arguments = argparser.parse_args() if arguments.command == 'create': |