update
This commit is contained in:
parent
ffcc35f6b6
commit
de8fd3f8bd
|
@ -104,8 +104,8 @@ Many of the utility functions such as _arguments, _regex_arguments, _alternative
|
||||||
at the end of an option/argument specification. This action indicates how to complete the corresponding argument.
|
at the end of an option/argument specification. This action indicates how to complete the corresponding argument.
|
||||||
The actions can take one of the following forms:
|
The actions can take one of the following forms:
|
||||||
| ( ) | Argument is required but no matches are generated for it. |
|
| ( ) | Argument is required but no matches are generated for it. |
|
||||||
| (ITEM1 ITEM2 ETC) | List of possible matches |
|
| (ITEM1 ITEM2) | List of possible matches |
|
||||||
| ((ITEM1\:DESC1 ITEM2\:DESC2 ETC\:BLAH)) | List of possible matches, with descriptions. |
|
| ((ITEM1\:DESC1 ITEM2\:DESC2)) | List of possible matches, with descriptions. |
|
||||||
| ->STRING | Set $state to STRING and continue ($state can be checked in a case statement after the utility function call) |
|
| ->STRING | Set $state to STRING and continue ($state can be checked in a case statement after the utility function call) |
|
||||||
| FUNCTION | Name of a function to call for generating matches or performing some other action, e.g. _files or _message |
|
| FUNCTION | Name of a function to call for generating matches or performing some other action, e.g. _files or _message |
|
||||||
| {EVAL-STRING} | Evaluate string as shell code to generate matches. |
|
| {EVAL-STRING} | Evaluate string as shell code to generate matches. |
|
||||||
|
|
Loading…
Reference in New Issue