Skip to content

Commit

Permalink
create_subcmd_parser() function returns the parser
Browse files Browse the repository at this point in the history
  • Loading branch information
achilleas-k committed Aug 26, 2020
1 parent 7735c35 commit ac2bf0d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions nixio/cmd/validate.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,9 @@ def validate(filename):


def create_subcmd_parser(parser):
return parser.add_argument("file", type=str, nargs="+",
help="path to file to validate (at least one)")
parser.add_argument("file", type=str, nargs="+",
help="path to file to validate (at least one)")
return parser


def main(args):
Expand Down

0 comments on commit ac2bf0d

Please sign in to comment.