Skip to content

Commit b11cc08

Browse files
committed
Enable compound target definition
Example: bin/pepper -a pam -C 'G@role:master and G@subgroup:puppet' test.ping
1 parent 83901c1 commit b11cc08

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

pepper/cli.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,10 @@ def add_tgtopts(self):
123123
action='store_const', const='range',
124124
help="Target based on range expression")
125125

126+
optgroup.add_option('-C', '--compound', dest='expr_form',
127+
action='store_const', const='compound',
128+
help="Target based on compound expression")
129+
126130
return optgroup
127131

128132
def add_authopts(self):

0 commit comments

Comments
 (0)