Commit 75615bd3 authored by Iustin Pop's avatar Iustin Pop
Browse files

Fix bash completion for cluster copyfile/command

“copyfile” takes a file argument, so we enable file-completion for it.
“gnt-cluster command” takes a command, so we enable command completion.

Reviewed-by: imsnah
parent a2370b24
......@@ -108,6 +108,12 @@ _gnt_cluster()
COMPREPLY=( $(compgen -W "drain undrain info" -- ${cur}) )
COMPREPLY=( $(compgen -f -- ${cur}) )
COMPREPLY=( $(compgen -c -- ${cur}) )
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment