diff options
author | Eric Lin <anselor@gmail.com> | 2018-05-02 15:22:14 -0400 |
---|---|---|
committer | Eric Lin <anselor@gmail.com> | 2018-05-02 15:22:14 -0400 |
commit | a55f0b6ed559d03f2d8b596898d638b288c11a68 (patch) | |
tree | 54d84c8d1d7c14247ac3a22186ed106190a8b494 /examples/arg_print.py | |
parent | dbf4846e8bc0e6ca38c928d8fe4752f9b6173803 (diff) | |
parent | a95c8a065abeac286c196783393ecc49e4356f54 (diff) | |
download | cmd2-git-a55f0b6ed559d03f2d8b596898d638b288c11a68.tar.gz |
Merge branch 'test_merge' into test_ply_merge
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): |