Mercurial > python-cmd2
diff docs/freefeatures.rst @ 388:52ab96d4f179
fix some Sphinx warnings
author | anatoly techtonik <techtonik@gmail.com> |
---|---|
date | Mon, 21 Jun 2010 17:02:20 +0300 |
parents | 49dd1ce6cfd6 |
children | e60e2c15f026 |
line wrap: on
line diff
--- a/docs/freefeatures.rst Mon May 24 05:27:26 2010 -0400 +++ b/docs/freefeatures.rst Mon Jun 21 17:02:20 2010 +0300 @@ -5,6 +5,8 @@ These features are provided "for free" to a cmd_-based application simply by replacing ``import cmd`` with ``import cmd2 as cmd``. +.. _cmd: http://docs.python.org/library/cmd.html#module-cmd + Script files ============ @@ -28,7 +30,7 @@ ``app.commentGrammars`` with a different pyparsing_ grammar. -Comments can be useful in :ref:`script`s. Used +Comments can be useful in :ref:`scripts`. Used in an interactive session, they may indicate mental imbalance. @@ -42,6 +44,8 @@ (Cmd) speak it was /* not */ delicious! # Yuck! it was delicious! +.. _pyparsing: http://pyparsing.wikispaces.com/ + Commands at invocation ====================== @@ -70,16 +74,14 @@ - sent to the paste buffer, ready for the next Copy operation, by ending with a bare ``>``, as in ``mycommand args >``.. Redirecting to paste buffer requires software to be installed on the operating - system, pywin32_ on Windows or xclip_ on *nix. + system, pywin32_ on Windows or xclip_ on \*nix. -.. _pywin32:: http://sourceforge.net/projects/pywin32/ -.. _xclip:: http://www.cyberciti.biz/faq/xclip-linux-insert-files-command-output-intoclipboard/ +.. _pywin32: http://sourceforge.net/projects/pywin32/ +.. _xclip: http://www.cyberciti.biz/faq/xclip-linux-insert-files-command-output-intoclipboard/ Python ====== -:: - The ``py`` command will run its arguments as a Python command. Entered without arguments, it enters an interactive Python session. That session can call