diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2018-01-15 02:03:00 -0500 |
---|---|---|
committer | Todd Leonhardt <todd.leonhardt@gmail.com> | 2018-01-15 02:03:00 -0500 |
commit | b4e6fc40b0af32aabed00635a6402d18620760c2 (patch) | |
tree | b2deca0068d628612022f1cabace8e5fcee14a13 /examples/arg_print.py | |
parent | cb412f66596cb5ba2ac3e5d45727ffc74fbf4db0 (diff) | |
download | cmd2-git-b4e6fc40b0af32aabed00635a6402d18620760c2.tar.gz |
Modified examples still using @options to import make_option from optparse
Diffstat (limited to 'examples/arg_print.py')
-rwxr-xr-x | examples/arg_print.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/arg_print.py b/examples/arg_print.py index 849cf386..00507649 100755 --- a/examples/arg_print.py +++ b/examples/arg_print.py @@ -11,7 +11,8 @@ It also serves as an example of how to create command aliases (shortcuts). """ import pyparsing import cmd2 -from cmd2 import options, make_option +from cmd2 import options +from optparse import make_option class ArgumentAndOptionPrinter(cmd2.Cmd): |