summaryrefslogtreecommitdiff
path: root/examples/persistent_history.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/persistent_history.py
parentd2d3c2f37d5324b5bc967fe268a92f9d563a3a30 (diff)
parent148f05d0af66f38c8ba6ca3a5619f50a8bb1b8a9 (diff)
downloadcmd2-git-a95c8a065abeac286c196783393ecc49e4356f54.tar.gz
Merge branch 'bash_completion' into bash_to_pyscript
Diffstat (limited to 'examples/persistent_history.py')
-rwxr-xr-xexamples/persistent_history.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/persistent_history.py b/examples/persistent_history.py
index 61e26b9c..251dbd67 100755
--- a/examples/persistent_history.py
+++ b/examples/persistent_history.py
@@ -5,7 +5,7 @@
This will allow end users of your cmd2-based application to use the arrow keys and Ctrl+r in a manner which persists
across invocations of your cmd2 application. This can make it much easier for them to use your application.
"""
-import cmd2
+from cmd2 import cmd2
class Cmd2PersistentHistory(cmd2.Cmd):