From 6d9747319a00a2df7d1db726357ba7a8b7d9dea1 Mon Sep 17 00:00:00 2001 From: rocky Date: Thu, 4 Jun 2015 06:29:28 -0400 Subject: [PATCH] More info doc --- docs/commands/info.rst | 8 ++++++++ docs/commands/set.rst | 2 +- docs/entry-exit.rst | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/docs/commands/info.rst b/docs/commands/info.rst index c5b3624e..07d775c4 100644 --- a/docs/commands/info.rst +++ b/docs/commands/info.rst @@ -1,8 +1,16 @@ Info ==== +**info** [ *info-subcommand* ] + Get information on the program being debugged. +You can give unique prefix of the name of a subcommand to get +information about just that subcommand. + +Type `info` for a list of info subcommands and what they do. Type help +`info *` for just a list of info subcommands. + .. toctree:: :maxdepth: 1 diff --git a/docs/commands/set.rst b/docs/commands/set.rst index b844d0ac..5fca6d8a 100644 --- a/docs/commands/set.rst +++ b/docs/commands/set.rst @@ -1,6 +1,6 @@ .. _set: -**set* [ *set-subcommand* ] +**set** [ *set-subcommand* ] Modifies parts of the debugger environment. diff --git a/docs/entry-exit.rst b/docs/entry-exit.rst index ee99e12f..a486505c 100644 --- a/docs/entry-exit.rst +++ b/docs/entry-exit.rst @@ -119,7 +119,7 @@ Put these lines in a file:: A copy of the above can be found `here `_. I usually put these line in `$HOME/.pythonrc`. Set the environment variable *PYTHONSTARTUP* to `$HOME/.pythonrc`. -After doing this, when you run `python -i` you should see on entry the *print* message from the file. For example; +After doing this, when you run `python -i` you should see on entry the *print* message from the file. For example: .. code:: console