Skip to content

Commit 2c3bd0a

Browse files
committed
Updated Sphinx docs
Updated to reflect that the default value of abbrev is now False.
1 parent 7c17d8b commit 2c3bd0a

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

docs/freefeatures.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -265,13 +265,13 @@ Abbreviated commands
265265
====================
266266

267267
``cmd2`` apps will accept shortened command names
268-
so long as there is no ambiguity. Thus, if
269-
``do_divide`` is defined, then ``divid``, ``div``,
268+
so long as there is no ambiguity if the ``abrev`` settable parameter is set to ``True``.
269+
Thus, if ``do_divide`` is defined, then ``divid``, ``div``,
270270
or even ``d`` will suffice, so long as there are
271271
no other commands defined beginning with *divid*,
272272
*div*, or *d*.
273273

274-
This behavior can be turned off with ``app.abbrev`` (see :ref:`parameters`)
274+
This behavior is disabled by default, but can be turned on with ``app.abbrev`` (see :ref:`parameters`)
275275

276276
.. warning::
277277

docs/settingchanges.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ comments, is viewable from within a running application
103103
with::
104104

105105
(Cmd) set --long
106-
abbrev: True # Accept abbreviated commands
106+
abbrev: False # Accept abbreviated commands
107107
autorun_on_edit: False # Automatically run files after editing
108108
colors: True # Colorized output (*nix only)
109109
continuation_prompt: > # On 2nd+ line of input
@@ -118,5 +118,5 @@ with::
118118

119119
Any of these user-settable parameters can be set while running your app with the ``set`` command like so::
120120

121-
set abbrev False
121+
set abbrev True
122122

0 commit comments

Comments
 (0)