diff options
author | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2018-09-27 09:59:44 -0400 |
---|---|---|
committer | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2018-09-27 09:59:44 -0400 |
commit | d4c807555208426b6a4dca224c8ad066185c6e09 (patch) | |
tree | e3e2ee9365c452017d0edd0889ccf824bf38040b /cmd2 | |
parent | 24ab916bef3c082935ed9d1329d7941a5d0efbfa (diff) | |
download | cmd2-git-d4c807555208426b6a4dca224c8ad066185c6e09.tar.gz |
Fixed usage statement where options were still appearing after the positionals
Diffstat (limited to 'cmd2')
-rwxr-xr-x | cmd2/argparse_completer.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd2/argparse_completer.py b/cmd2/argparse_completer.py index ca50bba9..ad2c520b 100755 --- a/cmd2/argparse_completer.py +++ b/cmd2/argparse_completer.py @@ -816,7 +816,7 @@ class ACHelpFormatter(argparse.RawTextHelpFormatter): else: indent = ' ' * len(prefix) # Begin cmd2 customization - parts = pos_parts + req_parts + opt_parts + parts = req_parts + opt_parts + pos_parts lines = get_lines(parts, indent) if len(lines) > 1: lines = [] |