mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #23354 from plastikos/improvement-grain_pcre
Add a short argument (-P) for --grain-pcre
This commit is contained in:
commit
221f6e5135
1 changed files with 1 additions and 1 deletions
|
@ -850,7 +850,7 @@ class TargetOptionsMixIn(six.with_metaclass(MixInMeta, object)):
|
|||
'expression:\n"os:Arch*"')
|
||||
)
|
||||
group.add_option(
|
||||
'--grain-pcre',
|
||||
'-P', '--grain-pcre',
|
||||
default=False,
|
||||
action='store_true',
|
||||
help=('Instead of using shell globs to evaluate the target '
|
||||
|
|
Loading…
Add table
Reference in a new issue