diff options
author | kotfu <kotfu@kotfu.net> | 2019-03-11 20:32:21 -0600 |
---|---|---|
committer | kotfu <kotfu@kotfu.net> | 2019-03-11 20:32:21 -0600 |
commit | b84798cfb2e0da5422936dfcf406c227b6a09723 (patch) | |
tree | 9bada0c3368bbe420e49b67b122adfe4d0dfbe0f /docs | |
parent | a4ff1a45b205171663559b0f7003ecf84face2aa (diff) | |
download | cmd2-git-b84798cfb2e0da5422936dfcf406c227b6a09723.tar.gz |
Negative ending history indices include the referenced command, instead of excluding it
Diffstat (limited to 'docs')
-rw-r--r-- | docs/freefeatures.rst | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/freefeatures.rst b/docs/freefeatures.rst index 4bfeffd0..001a7599 100644 --- a/docs/freefeatures.rst +++ b/docs/freefeatures.rst @@ -293,9 +293,10 @@ entered, and so forth:: You can use a similar mechanism to display a range of commands. Simply give two command numbers separated by ``..`` or ``:``, and you will see all commands -between those two numbers:: +between, and including, those two numbers:: - (Cmd) history 2:3 + (Cmd) history 1:3 + 1 alias create one !echo one 2 alias create two !echo two 3 alias create three !echo three |