diff options
author | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2019-07-16 12:55:28 -0400 |
---|---|---|
committer | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2019-07-16 12:55:28 -0400 |
commit | 905dbd657d481e6aaaa035cecc794bc96711f603 (patch) | |
tree | 218c407bc7170f3d92e3f20906cf5959d5b5ec81 /docs/features | |
parent | eb882b2b308bb2e09761a74007ea308b489c2d56 (diff) | |
download | cmd2-git-905dbd657d481e6aaaa035cecc794bc96711f603.tar.gz |
Fixed documentation for run_script and renamed history option
Diffstat (limited to 'docs/features')
-rw-r--r-- | docs/features/history.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/features/history.rst b/docs/features/history.rst index 7d6a03a4..1a163c80 100644 --- a/docs/features/history.rst +++ b/docs/features/history.rst @@ -160,7 +160,7 @@ would:: (Cmd) history --edit 2:4 If you want to save the commands to a text file, but not edit and re-run them, -use the ``-o`` or ``--output-file`` option. This is a great way to create +use the ``-o`` or ``--output_file`` option. This is a great way to create :ref:`scripts`, which can be executed using the ``run_script`` command. To save the first 5 commands entered in this session to a text file:: @@ -190,7 +190,7 @@ reference to identify previously entered commands. However, when creating a script or a transcript, the command numbers would prevent the script from loading properly. The ``-s`` or ``--script`` option instructs the ``history`` command to suppress the line numbers. This option is automatically set by the -``--output-file``, ``--transcript``, and ``--edit`` options. If you want to +``--output_file``, ``--transcript``, and ``--edit`` options. If you want to output the history commands with line numbers to a file, you can do it with output redirection:: |