From 4defbb69b762c045a957a1129771fc7d8229a79b Mon Sep 17 00:00:00 2001 From: emkael Date: Mon, 15 Jan 2024 18:17:02 +0100 Subject: Switch command order around --- pysquaredeal.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pysquaredeal.py') 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': -- cgit v1.2.3