From 1da904585db4cd1e77c312190149daa946366fa0 Mon Sep 17 00:00:00 2001 From: Todd Leonhardt Date: Wed, 17 Jan 2018 09:07:40 -0500 Subject: Cleanup of documentation and examples Removed usage of and reference to attributes and commands which have now been removed. --- docs/freefeatures.rst | 11 ++++------- docs/settingchanges.rst | 1 - 2 files changed, 4 insertions(+), 8 deletions(-) (limited to 'docs') 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 -- cgit v1.2.1