diff options
| author | Jared Crapo <jared@kotfu.net> | 2018-01-15 23:18:21 -0700 |
|---|---|---|
| committer | Jared Crapo <jared@kotfu.net> | 2018-01-15 23:18:21 -0700 |
| commit | cb7269f21cafb58053be06f2e68df142ca969d73 (patch) | |
| tree | 2a8add333ca148db53309814ec5b86eba14182d6 /tests/conftest.py | |
| parent | e3bc19fb0d88403d5a4906afe0f323a99e373942 (diff) | |
| download | cmd2-git-cb7269f21cafb58053be06f2e68df142ca969d73.tar.gz | |
Implement -o, -r, and -e options for issue #252
Diffstat (limited to 'tests/conftest.py')
| -rw-r--r-- | tests/conftest.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/conftest.py b/tests/conftest.py index e20d2511..5ecb6f82 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -19,9 +19,9 @@ edit help history load py pyscript quit run save set shell shortcuts """ # Help text for the history command -HELP_HISTORY = """usage: history [-h] [-s] [-r | -e | -o FILE] [arg] +HELP_HISTORY = """usage: history [-h] [-r | -e | -o FILE] [-s] [arg] -run, edit, and save past commands +run, edit, and save previously entered commands positional arguments: arg empty all history items @@ -32,11 +32,12 @@ positional arguments: optional arguments: -h, --help show this help message and exit - -s, --script script format; no separation lines -r, --run run selected history items -e, --edit edit and then run selected history items -o FILE, --output-file FILE output to file + -s, --script script format; no separation lines + """ # Output from the shortcuts command with default built-in shortcuts |
