abbr: rename --remove to --erase

for consistency with other fish commands

Closes #2071.
This commit is contained in:
David Adam
2015-05-22 09:48:39 +08:00
parent edf6a951ee
commit c0cf25cf0b
4 changed files with 9 additions and 9 deletions

View File

@@ -5,7 +5,7 @@
abbr -a word="phrase"
abbr -s
abbr -l
abbr -r word
abbr -e word
\endfish
\subsection abbr-description Description
@@ -24,7 +24,7 @@ The following parameters are available:
- `-l` or `--list` Lists all abbreviated words.
- `-r WORD` or `--remove WORD` Remove the abbreviation WORD.
- `-e WORD` or `--erase WORD` Erase the abbreviation WORD.
\subsection abbr-example Examples
@@ -34,9 +34,9 @@ abbr -a gco git checkout
Add a new abbreviation where `gco` will be replaced with `git checkout`.
\fish
abbr -r gco
abbr -e gco
\endfish
Remove the `gco` abbreviation.
Erase the `gco` abbreviation.
\fish
ssh another_host abbr -s | source