mirror of
https://git.code.sf.net/p/zsh/code
synced 2026-04-18 06:53:35 -04:00
49907: Mention _numbers in completion guide
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2022-03-31 Matthew Martin <phy1729@gmail.com>
|
||||
|
||||
* 49907: Etc/completion-style-guide: Mention _numbers in
|
||||
completion guide.
|
||||
|
||||
2022-03-31 Peter Stephenson <p.stephenson@samsung.com>
|
||||
|
||||
* 27639: Doc/Zsh/expn.yo: clarify that ${(#)...} deals with
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user