summaryrefslogtreecommitdiff
path: root/docs/features/startup_commands.rst
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2019-11-02 16:12:21 -0400
committerTodd Leonhardt <todd.leonhardt@gmail.com>2019-11-02 16:12:21 -0400
commit721cb0fa2e96222fe0b181d5adff8fa41465da70 (patch)
tree9bb6c2958427ca10a1419eeeb0140502896cfc13 /docs/features/startup_commands.rst
parentf3cebffef9bf1b562e1da39ea1ef11d18e6b6b39 (diff)
downloadcmd2-git-721cb0fa2e96222fe0b181d5adff8fa41465da70.tar.gz
Added some clarifying extra info about using commands at invocation
Diffstat (limited to 'docs/features/startup_commands.rst')
-rw-r--r--docs/features/startup_commands.rst7
1 files changed, 6 insertions, 1 deletions
diff --git a/docs/features/startup_commands.rst b/docs/features/startup_commands.rst
index 453586d3..93984db6 100644
--- a/docs/features/startup_commands.rst
+++ b/docs/features/startup_commands.rst
@@ -20,7 +20,8 @@ Commands At Invocation
You can send commands to your app as you invoke it by including them as extra
arguments to the program. ``cmd2`` interprets each argument as a separate
command, so you should enclose each command in quotation marks if it is more
-than a one-word command.
+than a one-word command. You can use either single or double quotes for this
+purpose.
.. code-block:: shell
@@ -28,6 +29,10 @@ than a one-word command.
hello
Gracie
+You can end your commands with a **quit** command so that your ``cmd2``
+application runs like a non-interactive command-line utility (CLU). This
+means that it can then be scripted from an external application and easily used
+in automation.
.. note::