about summary refs log tree commit diff
path: root/Doc
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>2000-02-04 12:08:41 +0000
committerTanaka Akira <akr@users.sourceforge.net>2000-02-04 12:08:41 +0000
commit2b9b1d559291ef91aa085882c0103f60105dfe40 (patch)
tree685f6473846aadc85329ffd371061d11a9f047a3 /Doc
parenta260aa4a4c752b0fe319729da83ca0481db95270 (diff)
downloadzsh-2b9b1d559291ef91aa085882c0103f60105dfe40.tar.gz
zsh-2b9b1d559291ef91aa085882c0103f60105dfe40.tar.xz
zsh-2b9b1d559291ef91aa085882c0103f60105dfe40.zip
zsh-workers/9559
Diffstat (limited to 'Doc')
-rw-r--r--Doc/Zsh/compsys.yo9
1 files changed, 8 insertions, 1 deletions
diff --git a/Doc/Zsh/compsys.yo b/Doc/Zsh/compsys.yo
index 30a787b19..65676a459 100644
--- a/Doc/Zsh/compsys.yo
+++ b/Doc/Zsh/compsys.yo
@@ -2084,7 +2084,10 @@ var(action). Note that only one such `tt(:*)'-specification is useful
 and no other argument specification may be given after it.
 
 In the simplest form the var(opt-spec) is just the option name
-beginning with a minus or a plus sign, such as `tt(-foo)'. In this
+beginning with a minus or a plus sign, such as `tt(-foo)'. If the
+command accepts the option both with a leading minus and a plus sign,
+one can use either tt(-+foo) or tt(+-foo) to define both options at
+once. In this
 case, the first argument for the option (if any) has to come as a
 separate word directly after the option and the option may appear only 
 once on the line (and if it is already on the line, the option name
@@ -2098,6 +2101,10 @@ instead. If the argument may be given as the next string or in same
 string as the option name but separated from it by an equal sign, a
 `tt(=)' should be used instead of the minus or plus sign.
 
+Note that this and the shortcut syntax with a leading tt(-+) or tt(+-) 
+means that for options like tt(-+) the second character has to be
+quoted with a backslash.
+
 If the option may be given more than once, a star
 (`tt(*)') has to be added in front of the var(opt-spec).