diff options
author | kotfu <kotfu@kotfu.net> | 2019-07-06 13:53:45 -0600 |
---|---|---|
committer | kotfu <kotfu@kotfu.net> | 2019-07-06 13:53:45 -0600 |
commit | 9fe8e36a1e26569bdb47b8c361d077675a876af9 (patch) | |
tree | 8e72372456ab4f50b61df443fdc1504afb6c1268 /docs/features/help.rst | |
parent | 6a5b9f8e13c9aed75ea23a23bad8ea0c64e90ff7 (diff) | |
download | cmd2-git-9fe8e36a1e26569bdb47b8c361d077675a876af9.tar.gz |
Add doc8 documentation style checking
- add dev dependency
- add doc8 to tasks.py
- fix all doc8 errors
Diffstat (limited to 'docs/features/help.rst')
-rw-r--r-- | docs/features/help.rst | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/docs/features/help.rst b/docs/features/help.rst index 37280bf0..755d40f9 100644 --- a/docs/features/help.rst +++ b/docs/features/help.rst @@ -17,8 +17,8 @@ By default, the ``help`` command displays:: alias help ipy py run_pyscript set shortcuts edit history macro quit run_script shell -If you have a large number of commands, you can optionally group your commands into categories. -Here's the output from the example ``help_categories.py``:: +If you have a large number of commands, you can optionally group your commands +into categories. Here's the output from the example ``help_categories.py``:: Documented commands (type help <topic>): @@ -44,9 +44,11 @@ Here's the output from the example ``help_categories.py``:: alias edit history py run_pyscript set shortcuts config help macro quit run_script shell version -There are 2 methods of specifying command categories, using the ``@with_category`` decorator or with the -``categorize()`` function. Once a single command category is detected, the help output switches to a categorized -mode of display. All commands with an explicit category defined default to the category `Other`. +There are 2 methods of specifying command categories, using the +``@with_category`` decorator or with the ``categorize()`` function. Once a +single command category is detected, the help output switches to a categorized +mode of display. All commands with an explicit category defined default to the +category `Other`. Using the ``@with_category`` decorator:: @@ -85,8 +87,8 @@ Using the ``categorize()`` function: do_stop, do_findleakers), CMD_CAT_APP_MGMT) -The ``help`` command also has a verbose option (``help -v`` or ``help --verbose``) that combines -the help categories with per-command Help Messages:: +The ``help`` command also has a verbose option (``help -v`` or ``help +--verbose``) that combines the help categories with per-command Help Messages:: Documented commands (type help <topic>): |