summaryrefslogtreecommitdiff
path: root/examples/arg_print.py
diff options
context:
space:
mode:
authorEric Lin <anselor@gmail.com>2018-05-02 14:53:20 -0400
committerEric Lin <anselor@gmail.com>2018-05-02 14:53:20 -0400
commita95c8a065abeac286c196783393ecc49e4356f54 (patch)
treeb4575eda772450b54620d16c09d4d29c52abdec7 /examples/arg_print.py
parentd2d3c2f37d5324b5bc967fe268a92f9d563a3a30 (diff)
parent148f05d0af66f38c8ba6ca3a5619f50a8bb1b8a9 (diff)
downloadcmd2-git-a95c8a065abeac286c196783393ecc49e4356f54.tar.gz
Merge branch 'bash_completion' into bash_to_pyscript
Diffstat (limited to 'examples/arg_print.py')
-rwxr-xr-xexamples/arg_print.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/examples/arg_print.py b/examples/arg_print.py
index 18fa483f..90df053a 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):