Consider first match only in menuFromCommand prompt

This commit is contained in:
Elwardi 2021-07-19 13:06:00 +01:00
parent f1ced5539a
commit b92ff3ee3f
2 changed files with 13 additions and 16 deletions

View file

@ -103,8 +103,8 @@ The permitted prompt fields are:
| filter | (only applicable to 'menuFromCommand' prompts) the regexp to run specifying | yes |
| | groups which are going to be kept from the command's output | |
| format | (only applicable to 'menuFromCommand' prompts) how to format matched groups from | yes |
| | the filter. You can use named groups, or `{{ .group_GROUPID_MATCHID }}`. | yes |
| | PS: named groups keep last non-empty match | yes |
| | the filter. You can use named groups, or `{{ .group_GROUPID }}`. | yes |
| | PS: named groups keep first match only | yes |
The permitted option fields are:
| _field_ | _description_ | _required_ |