diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2019-06-15 10:31:42 -0400 |
---|---|---|
committer | Todd Leonhardt <todd.leonhardt@gmail.com> | 2019-06-15 10:31:42 -0400 |
commit | 79c54b473126d44f0da146600a352660d4cb7c64 (patch) | |
tree | 1628b99113f8c49e32bf0903e87617b8089f3f39 /examples/persistent_history.py | |
parent | ea1716ad0c43ce0c2c354836dbc36e4ae419afb6 (diff) | |
download | cmd2-git-79c54b473126d44f0da146600a352660d4cb7c64.tar.gz |
Updated various documentation and tests to not use load
Diffstat (limited to 'examples/persistent_history.py')
-rwxr-xr-x | examples/persistent_history.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/persistent_history.py b/examples/persistent_history.py index e88fd5d9..bc62cb14 100755 --- a/examples/persistent_history.py +++ b/examples/persistent_history.py @@ -11,9 +11,9 @@ import cmd2 class Cmd2PersistentHistory(cmd2.Cmd): """Basic example of how to enable persistent readline history within your cmd2 app.""" def __init__(self, hist_file): - """Configure the app to load persistent readline history from a file. + """Configure the app to load persistent history from a file (both readline and cmd2 history command affected). - :param hist_file: file to load readline history from at start and write it to at end + :param hist_file: file to load history from at start and write it to at end """ super().__init__(persistent_history_file=hist_file, persistent_history_length=500, allow_cli_args=False) self.prompt = 'ph> ' |