diff options
author | Eric Lin <anselor@gmail.com> | 2018-10-06 17:17:17 +0000 |
---|---|---|
committer | Eric Lin <anselor@gmail.com> | 2018-10-06 17:17:17 +0000 |
commit | 96bcfe012b3b1659dbd0244ac6c4a43dfb5328d6 (patch) | |
tree | 53aa46ab12fe2644023ff4ffa22b8beccce086c2 /examples/async_printing.py | |
parent | 49cbec9969b4b53248d6097d8f395d92c74f7228 (diff) | |
download | cmd2-git-96bcfe012b3b1659dbd0244ac6c4a43dfb5328d6.tar.gz |
Added handling of nargs=argparse.REMAINDER in both AutoCompleter and ArgparseFunctor
Should correctly force all subsequent arguments to go to the REMAINDER argument once it is detected.
Re-arranged the command generation in ArgparseFunctor to print flag arguments before positionals
Also forces the remainder arguments to always be last.
Diffstat (limited to 'examples/async_printing.py')
0 files changed, 0 insertions, 0 deletions