diff options
| author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2018-01-17 09:07:40 -0500 |
|---|---|---|
| committer | Todd Leonhardt <todd.leonhardt@gmail.com> | 2018-01-17 09:07:40 -0500 |
| commit | 1da904585db4cd1e77c312190149daa946366fa0 (patch) | |
| tree | d71c32f3b47c2b137d6b9543a605feb8380472a7 /docs | |
| parent | 51e7176ead22d7ad898fa7f6e2de246df43f04e0 (diff) | |
| download | cmd2-git-1da904585db4cd1e77c312190149daa946366fa0.tar.gz | |
Cleanup of documentation and examples
Removed usage of and reference to attributes and commands which have now been removed.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/freefeatures.rst | 11 | ||||
| -rw-r--r-- | docs/settingchanges.rst | 1 |
2 files changed, 4 insertions, 8 deletions
diff --git a/docs/freefeatures.rst b/docs/freefeatures.rst index e3787720..ea40c87c 100644 --- a/docs/freefeatures.rst +++ b/docs/freefeatures.rst @@ -13,7 +13,7 @@ Script files ============ Text files can serve as scripts for your ``cmd2``-based -application, with the ``load``, ``_relative_load``, ``save``, and ``edit`` commands. +application, with the ``load``, ``_relative_load``, ``edit`` and ``history`` commands. Both ASCII and UTF-8 encoded unicode text files are supported. @@ -23,10 +23,10 @@ Simply include one command per line, typed exactly as you would inside a ``cmd2` .. automethod:: cmd2.Cmd.do__relative_load -.. automethod:: cmd2.Cmd.do_save - .. automethod:: cmd2.Cmd.do_edit +.. automethod:: cmd2.Cmd.do_history + Comments ======== @@ -257,12 +257,10 @@ also provide `bash-like history list editing`_. .. _`bash-like history list editing`: http://www.talug.org/events/20030709/cmdline_history.html -``cmd2`` makes a third type of history access available, consisting of these commands: +``cmd2`` makes a third type of history access available with the **history** command: .. automethod:: cmd2.Cmd.do_history -.. automethod:: cmd2.Cmd.do_run - Quitting the application ======================== @@ -328,7 +326,6 @@ Tab-Completion - ``edit`` - ``load`` - ``pyscript`` -- ``save`` - ``shell`` ``cmd2`` also adds tab-completion of shell commands to the ``shell`` command. diff --git a/docs/settingchanges.rst b/docs/settingchanges.rst index 0a24651b..2b9f9a86 100644 --- a/docs/settingchanges.rst +++ b/docs/settingchanges.rst @@ -117,7 +117,6 @@ with:: (Cmd) set --long abbrev: False # Accept abbreviated commands - autorun_on_edit: False # Automatically run files after editing colors: True # Colorized output (*nix only) continuation_prompt: > # On 2nd+ line of input debug: False # Show full error stack on error |
