Skip to content

Commit d6a0a31

Browse files
committed
ENH: sort choices for command
1 parent 68d03ee commit d6a0a31

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

heudiconv/cli/run.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -185,9 +185,11 @@ def get_parser():
185185
help='Do not catch exceptions and show exception '
186186
'traceback')
187187
parser.add_argument('--command',
188-
choices=('ls', 'populate-templates',
189-
'treat-jsons', 'sanitize-jsons',
190-
'heuristics', 'heuristic-info'),
188+
choices=(
189+
'heuristics', 'heuristic-info',
190+
'ls', 'populate-templates',
191+
'sanitize-jsons', 'treat-jsons',
192+
),
191193
help='custom actions to be performed on provided '
192194
'files instead of regular operation.')
193195
parser.add_argument('-g', '--grouping', default='studyUID',

0 commit comments

Comments
 (0)