Skip to content

Commit

Permalink
List doc goover.
Browse files Browse the repository at this point in the history
  • Loading branch information
rocky committed Jun 6, 2015
1 parent f08b181 commit a276147
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
8 changes: 5 additions & 3 deletions docs/commands/set/autolist.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@
Set Auto List
-------------

*set* *autolist* [*on*\ \|\ *off*]
**set autolist** [*on* | *off*]

Run the *list* command every time you stop in the debugger. With this,
you will get output like:
Run the :ref:`list <list>` command every time you stop in the
debugger.

With this, you will get output like:

::

Expand Down
6 changes: 4 additions & 2 deletions trepan/processor/command/set_subcmd/autolist.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
# Copyright (C) 2009, 2012-2013 Rocky Bernstein
# Copyright (C) 2009, 2012-2013, 2015 Rocky Bernstein
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand All @@ -21,7 +21,9 @@


class SetAutoList(Mbase_subcmd.DebuggerSetBoolSubcommand):
"""Run a *list* command every time we enter the debugger."""
"""**set autolist** [*on* | *off*]
Run the `list` command every time we enter the debugger."""

in_list = True
min_abbrev = len('autol')
Expand Down

0 comments on commit a276147

Please sign in to comment.