Skip to content

Commit 8eaf472

Browse files
authored
DOC: Update order, grouping of options [skip ds005][skip ds054][skip ds210]
1 parent b71ddf3 commit 8eaf472

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

fmriprep/cli/run.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,6 @@ def get_parser():
7979
help='select a specific task to be processed')
8080

8181
g_perfm = parser.add_argument_group('Options to handle performance')
82-
g_perfm.add_argument('--debug', action='store_true', default=False,
83-
help='DEPRECATED - Does not do what you want.')
8482
g_perfm.add_argument('--nthreads', '--n_cpus', '-n-cpus', action='store', type=int,
8583
help='maximum number of threads across all processes')
8684
g_perfm.add_argument('--omp-nthreads', action='store', type=int, default=0,
@@ -103,6 +101,8 @@ def get_parser():
103101
'signal')
104102
g_perfm.add_argument("-v", "--verbose", dest="verbose_count", action="count", default=0,
105103
help="increases log verbosity for each occurence, debug level is -vvv")
104+
g_perfm.add_argument('--debug', action='store_true', default=False,
105+
help='DEPRECATED - Does not do what you want.')
106106

107107
g_conf = parser.add_argument_group('Workflow configuration')
108108
g_conf.add_argument(
@@ -238,9 +238,8 @@ def get_parser():
238238
'the FMRIPREP developers. This information helps to '
239239
'improve FMRIPREP and provides an indicator of real '
240240
'world usage crucial for obtaining funding.')
241-
g_perfm.add_argument('--sloppy', action='store_true', default=False,
242-
help='Use low-quality tools for speed '
243-
'- TESTING ONLY')
241+
g_other.add_argument('--sloppy', action='store_true', default=False,
242+
help='Use low-quality tools for speed - TESTING ONLY')
244243

245244
return parser
246245

0 commit comments

Comments
 (0)