Skip to content

Commit 3996425

Browse files
committed
completions: support flux-resource R
Problem: The R subcommand for flux-resource is not supported by the bash completions. Add flux-resource R to the bash completions file.
1 parent d9b0482 commit 3996425

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

etc/completions/flux.pre

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ _flux_mini()
288288
# flux-resource(1) completions
289289
_flux_resource()
290290
{
291-
local subcmds="drain undrain status list info reload"
291+
local subcmds="drain undrain status list R info reload"
292292
local cmd=$1
293293

294294
local reload_OPTS="\
@@ -311,6 +311,11 @@ _flux_resource()
311311
local status_OPTS="\
312312
${list_OPTS} \
313313
"
314+
local R_OPTS="\
315+
-h --help \
316+
-s --states= \
317+
-i --include= \
318+
"
314319
local undrain_OPTS="\
315320
-h --help \
316321
"

0 commit comments

Comments
 (0)