diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 1999-08-20 13:29:01 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 1999-08-20 13:29:01 +0000 |
commit | bcd214d5ba3990cdc417762370c2911b3407bf31 (patch) | |
tree | 4c51669689d4ee5dbd1ff7d6eec39be25a9b2386 /Doc/Zsh | |
parent | 8a9d2f0807a94cb0dfb1dcf38b7b0fd00f1fef28 (diff) | |
download | zsh-bcd214d5ba3990cdc417762370c2911b3407bf31.tar.gz zsh-bcd214d5ba3990cdc417762370c2911b3407bf31.tar.xz zsh-bcd214d5ba3990cdc417762370c2911b3407bf31.zip |
zsh-workers/7457
Diffstat (limited to 'Doc/Zsh')
-rw-r--r-- | Doc/Zsh/compsys.yo | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/Doc/Zsh/compsys.yo b/Doc/Zsh/compsys.yo index 4b80fc9db..9db538a12 100644 --- a/Doc/Zsh/compsys.yo +++ b/Doc/Zsh/compsys.yo @@ -939,12 +939,18 @@ which can be given as arguments to the tt(compadd) and tt(compgen) builtins and which make sure that the var(message) given in the description will be shown above the matches. -Finally, this function can be made to automatically call the +Normally the option names are taken as multi-character names and a +word from the line is considered to contain only one option (or +none). By giving the tt(-s) option to this function (as the first +argument), options are considered to be one-character options and the +string from the line may contain more than one such option letter. + +This function can also be made to automatically call the tt(_long_options) function where appropriate by giving it the string `tt(--)' as an argument. All arguments after this will be given unchanged to the tt(_long_options) function. -This function also uses one configuration key: tt(option_prefix). If +Finally, this function uses one configuration key: tt(option_prefix). If this is set to a string containing `tt(short)' or `tt(all)' as a substring, option names beginning with a single minus sign are added as possible matches only if the word on the line begins with a minus |