Skip to content

Commit 63d08ac

Browse files
committed
rf: remove excessive validation
1 parent e8aa182 commit 63d08ac

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

nitransforms/cli.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,6 @@ def _add_subparser(name, description):
126126
def main(pargs=None):
127127
parser, subparsers = get_parser()
128128
pargs = parser.parse_args(pargs)
129-
if not pargs.command or 'func' not in pargs:
130-
parser.print_help()
131-
sys.exit(1)
132129

133130
try:
134131
pargs.func(pargs)

0 commit comments

Comments
 (0)