Skip to content

Commit bca8103

Browse files
committed
fixed --help on top level
1 parent d4e1ddb commit bca8103

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/nipype_cmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def run_instance(interface, options):
4848

4949
def parse_args():
5050

51-
if len(sys.argv) == 2:
51+
if len(sys.argv) == 2 and not sys.argv[1].startswith("-"):
5252
listClasses(sys.argv[1])
5353
return
5454

0 commit comments

Comments
 (0)