diff options
author | Matthew Martin <phy1729@gmail.com> | 2022-03-31 17:35:32 -0500 |
---|---|---|
committer | Matthew Martin <phy1729@gmail.com> | 2022-03-31 17:36:21 -0500 |
commit | 283fc8596b817bf731c4dbf339a3943847d9dd12 (patch) | |
tree | 8d5c2f71c1d24b29afc3168a93f0e9209893864d /Etc/completion-style-guide | |
parent | 41eb200d66e4bea7bc5798888a1755cdf5daa3b0 (diff) | |
download | zsh-283fc8596b817bf731c4dbf339a3943847d9dd12.tar.gz zsh-283fc8596b817bf731c4dbf339a3943847d9dd12.tar.xz zsh-283fc8596b817bf731c4dbf339a3943847d9dd12.zip |
49907: Mention _numbers in completion guide
Diffstat (limited to 'Etc/completion-style-guide')
-rw-r--r-- | Etc/completion-style-guide | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Etc/completion-style-guide b/Etc/completion-style-guide index 4fa0040a5..f7dcae230 100644 --- a/Etc/completion-style-guide +++ b/Etc/completion-style-guide @@ -75,6 +75,8 @@ but use: To indicate a default value, use square brackets: '--timeout[specify connection timeout]:timeout (ms) [5000]' These two conventions can be used together or individually as appropriate. +Alternatively the `_numbers' function may be used: + '--timeout[specify connection timeout]: :_numbers -u ms -d 5000 timeout' Group descriptions should be singular because only one thing is being completed even though many may be listed. This applies even where you |