diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2018-01-15 01:34:50 -0500 |
---|---|---|
committer | Todd Leonhardt <todd.leonhardt@gmail.com> | 2018-01-15 01:34:50 -0500 |
commit | 141d95194b30d959f6c21f4546100551c442b13d (patch) | |
tree | 5d1602a6d2117aaa4910adfff31ad919b85fea07 /examples/python_scripting.py | |
parent | 2fcc883f8a7fd5c9fd3beb30465cfa2b86c66ffc (diff) | |
download | cmd2-git-141d95194b30d959f6c21f4546100551c442b13d.tar.gz |
Made a couple cleanup changes
1) cmd2 no longer imports make_option from optparse
- test files and examples now import this directly
- this helps emphasize that this old optparse methodology of adding options to commands is deprecated
2) All argparsers have been given custom names instead of just "argparser"
- this helps with readability and maintainability, especially with IDE renaming and such
Diffstat (limited to 'examples/python_scripting.py')
0 files changed, 0 insertions, 0 deletions