Skip to content

Commit

Permalink
squashlater: added parse_mixed_args
Browse files Browse the repository at this point in the history
  • Loading branch information
wxtim committed Mar 8, 2019
1 parent c0b0595 commit 058105f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion isodatetime/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,10 @@ def main():
],
]:
arg_parser.add_argument(*o_args, **o_kwargs)
args = arg_parser.parse_args()
if hasattr(arg_parse, 'parse_intermixed_args'):
args = arg_parser.parse_intermixed_args()
else:
args = arg_parser.parse_args()
if args.version_mode:
print(__version__)
return
Expand Down

0 comments on commit 058105f

Please sign in to comment.