Skip to content

Commit 5bbd0f7

Browse files
committed
Fixed typo and doc formatting.
1 parent e8733bc commit 5bbd0f7

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

docs/features/settings.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,12 @@ with and indistinguishable from output generated with `cmd2.Cmd.poutput`.
7070

7171
### max_completion_table_items
7272

73-
The maximum number of items to display in a completion table. A completion table is a special
74-
kind of completion hint which displays details about items being completed. Tab complete
75-
the `set` command for an example.
73+
The maximum number of items to display in a completion table. A completion table is a special kind
74+
of completion hint which displays details about items being completed. Tab complete the `set`
75+
command for an example.
7676

77-
If the number of completion suggestions exceeds `max_completion_table_items`, then no table will appear.
77+
If the number of completion suggestions exceeds `max_completion_table_items`, then no table will
78+
appear.
7879

7980
### quiet
8081

tests/test_argparse_completer.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1118,10 +1118,10 @@ def test_display_meta(ac_app, subcommand, flag, display_meta) -> None:
11181118
"""Test that subcommands and flags can have display_meta data."""
11191119
if flag:
11201120
text = flag
1121-
line = line = f'meta {subcommand} {text}'
1121+
line = f'meta {subcommand} {text}'
11221122
else:
11231123
text = subcommand
1124-
line = line = f'meta {text}'
1124+
line = f'meta {text}'
11251125

11261126
endidx = len(line)
11271127
begidx = endidx - len(text)

0 commit comments

Comments
 (0)