Skip to content

Commit 710338d

Browse files
committed
flux-pgrep: support multiple queues in flux-pgrep/pkill
Problem: flux-pgrep(1) and flux-pkill(1) only suppotrs querying jobs from one queue at a time. Support multiple queues with the -q, --queue= option.
1 parent 620eed1 commit 710338d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/cmd/flux-pgrep.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -170,9 +170,9 @@ def parse_args():
170170
parser.add_argument(
171171
"-q",
172172
"--queue",
173-
type=str,
174-
metavar="QUEUE",
175-
help="Limit output to specific queue",
173+
type=FilterActionSetUpdate,
174+
metavar="QUEUE,...",
175+
help="Limit output to specific queue or queues",
176176
)
177177
parser.add_argument(
178178
"-c",

0 commit comments

Comments
 (0)