diff options
author | kotfu <kotfu@kotfu.net> | 2018-05-02 19:11:28 -0700 |
---|---|---|
committer | kotfu <kotfu@kotfu.net> | 2018-05-02 19:11:28 -0700 |
commit | 9ade8ac377b90f36445aeec1de01b650bbad2283 (patch) | |
tree | 78dede898fec07147302ce188a67f7ce09485a8c /examples/arg_print.py | |
parent | ad634b2e7f68392727246f796647b92d67172011 (diff) | |
parent | e8d952574743c00e2116d24044220cbaa95cfb38 (diff) | |
download | cmd2-git-9ade8ac377b90f36445aeec1de01b650bbad2283.tar.gz |
Merge branch 'ply' of https://github.com/python-cmd2/cmd2 into ply
Diffstat (limited to 'examples/arg_print.py')
-rwxr-xr-x | examples/arg_print.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/examples/arg_print.py b/examples/arg_print.py index 95e8ff01..b2f0fcda 100755 --- a/examples/arg_print.py +++ b/examples/arg_print.py @@ -11,10 +11,8 @@ It also serves as an example of how to create command aliases (shortcuts). """ import argparse -import cmd2 -import pyparsing - -from cmd2 import with_argument_list, with_argparser, with_argparser_and_unknown_args +from cmd2 import cmd2 +from cmd2.cmd2 import with_argument_list, with_argparser, with_argparser_and_unknown_args class ArgumentAndOptionPrinter(cmd2.Cmd): |