diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2019-03-18 23:45:58 -0400 |
---|---|---|
committer | Todd Leonhardt <todd.leonhardt@gmail.com> | 2019-03-18 23:45:58 -0400 |
commit | dcbffdb3cf10e6b44b0aac845b372f9766d30dbb (patch) | |
tree | fc7c9d26bd1977c7e0665f2a014ac02f0de7338e /docs | |
parent | 2f24a8ad3eeb2fdf699d1e2a9d4f05429fe879c4 (diff) | |
download | cmd2-git-dcbffdb3cf10e6b44b0aac845b372f9766d30dbb.tar.gz |
Addressed review comments
Diffstat (limited to 'docs')
-rw-r--r-- | docs/freefeatures.rst | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/docs/freefeatures.rst b/docs/freefeatures.rst index 5a08dcd6..11b5de68 100644 --- a/docs/freefeatures.rst +++ b/docs/freefeatures.rst @@ -22,7 +22,11 @@ Simply include one command per line, typed exactly as you would inside a ``cmd2` The ``load`` command loads commands from a script file into a queue and then the normal cmd2 REPL resumes control and executes the commands in the queue in FIFO order. A side effect of this is that if you redirect/pipe the output of a load command, it will redirect the output of the ``load`` -command itself, but will NOT redirect the output of the command loaded from the script file. +command itself, but will NOT redirect the output of the command loaded from the script file. Of course, +you can add redirection to the commands being run in the script file, e.g.:: + + # This is your script file + command arg1 arg2 > file.txt .. automethod:: cmd2.cmd2.Cmd.do_load |