Skip to content

Commit 425677e

Browse files
committed
Address PR comments
1 parent 7758549 commit 425677e

File tree

4 files changed

+13
-12
lines changed

4 files changed

+13
-12
lines changed

docs/examples/getting_started.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -267,9 +267,9 @@ persist between invocations of your application, you'll need to do a little work
267267

268268
Users can access command history using two methods:
269269

270-
- the [readline](https://docs.python.org/3/library/readline.html) library which provides a Python
270+
- The [readline](https://docs.python.org/3/library/readline.html) library which provides a Python
271271
interface to the [GNU readline library](https://en.wikipedia.org/wiki/GNU_Readline)
272-
- the `history` command which is built-in to `cmd2`
272+
- The `history` command which is built-in to `cmd2`
273273

274274
From the prompt in a `cmd2`-based application, you can press `Control-p` to move to the previously
275275
entered command, and `Control-n` to move to the next command. You can also search through the
@@ -280,10 +280,10 @@ details, including all the available commands, and instructions for customizing
280280
The `history` command allows a user to view the command history, and select commands from history by
281281
number, range, string search, or regular expression. With the selected commands, users can:
282282

283-
- re-run the commands
284-
- edit the selected commands in a text editor, and run them after the text editor exits
285-
- save the commands to a file
286-
- run the commands, saving both the commands and their output to a file
283+
- Re-run the commands
284+
- Edit the selected commands in a text editor, and run them after the text editor exits
285+
- Save the commands to a file
286+
- Run the commands, saving both the commands and their output to a file
287287

288288
Learn more about the `history` command by typing `history -h` at any `cmd2` input prompt, or by
289289
exploring [Command History For Users](../features/history.md#for-users).

docs/features/clipboard.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@ clipboard by ending the command with a greater than symbol:
1212
mycommand args >
1313
```
1414

15-
Think of it as redirecting output to an unnamed, ephemeral place: the clipboard. You can also append
16-
output to the current contents of the clipboard by ending the command with two greater than symbols:
15+
Think of it as redirecting the output to an unnamed, ephemeral place: the clipboard. You can also
16+
append output to the current contents of the clipboard by ending the command with two greater than
17+
symbols:
1718

1819
```text
1920
mycommand arg1 arg2 >>

docs/features/embedded_python_shells.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ All of these parameters are also available to Python scripts which run in your a
3232
- supports tab completion of file system paths
3333
- has the ability to pass command-line arguments to the scripts invoked
3434

35-
This command provides a more complex and more powerful scripting capability than that provided by
36-
the simple text file scripts. Python scripts can include conditional control flow logic. See the
35+
This command provides a more complex and powerful scripting capability than that provided by the
36+
simple text file scripts. Python scripts can include conditional control flow logic. See the
3737
**python_scripting.py** `cmd2` application and the **script_conditional.py** script in the
3838
`examples` source code directory for an example of how to achieve this in your own applications. See
3939
[Scripting](./scripting.md) for an explanation of both scripting methods in **cmd2** applications.

docs/features/misc.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ Turn the timer setting on, and `cmd2` will show the wall time it takes for each
66

77
## Exiting
88

9-
`cmd2` applications can be exited by using the `quit` command. Pressing `Ctrl-D` on an empty line
10-
will also exit the application, which is common behavior for many shell applications.
9+
Like many shell applications, `cmd2` applications can be exited by pressing `Ctrl-D` on an empty
10+
line, or by executing the `quit` command.
1111

1212
## select
1313

0 commit comments

Comments
 (0)