diff options
author | David Adam <zanchey@ucc.gu.uwa.edu.au> | 2014-11-15 23:48:40 +0800 |
---|---|---|
committer | David Adam <zanchey@ucc.gu.uwa.edu.au> | 2014-11-15 23:48:40 +0800 |
commit | a7bab7b18bea6fe3e1718c10b359e270bada8878 (patch) | |
tree | d4825ab9bbcbae6c683ab1d2e6e27fad1c4bd6ca /doc_src/abbr.txt | |
parent | a6a41d159cd4e34d5db7db8c6e29629c7db91d15 (diff) |
abbr/web_config: support space-delimited abbreviations
Support for space-delimited abbreviations was added to the expansion
parser in fbade198; this commit extends that support to the user-facing
tools, and documents the space-separated behaviour. Equals-delimited
abbreviations are expected to be removed before the next release.
Work on #731.
Diffstat (limited to 'doc_src/abbr.txt')
-rw-r--r-- | doc_src/abbr.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc_src/abbr.txt b/doc_src/abbr.txt index b3e9a7fd..0c3dc37a 100644 --- a/doc_src/abbr.txt +++ b/doc_src/abbr.txt @@ -18,7 +18,7 @@ Abbreviations are stored, by default, in a universal variable. The following parameters are available: -- `-a 'WORD=PHRASE'` or `--add 'WORD=PHRASE'` Adds a new abbreviation, where WORD will be expanded to PHRASE. Only a single argument is supported - protect the contents with quotes or escapes. +- `-a WORD PHRASE` or `--add WORD PHRASE` Adds a new abbreviation, where WORD will be expanded to PHRASE. - `-s` or `--show` Show all abbreviated words and their expanded phrases in a manner suitable for export and import. @@ -29,7 +29,7 @@ The following parameters are available: \subsection abbr-example Examples \fish -abbr -a 'gco=git checkout' +abbr -a gco git checkout \endfish Add a new abbreviation where `gco` will be replaced with `git checkout`. |