Cluster: add nicparams, and update them on upgrade
[ganeti-local] / doc / examples / bash_completion.in
index 7e43ed8..09fe0ea 100644 (file)
@@ -106,10 +106,16 @@ _gnt_cluster()
       # complete arguments to the command
       case "$prev" in
         "queue")
-        COMPREPLY=( $(compgen -W "drain undrain info" -- ${cur}) )
-        ;;
-      *)
-        ;;
+          COMPREPLY=( $(compgen -W "drain undrain info" -- ${cur}) )
+          ;;
+        "copyfile")
+          COMPREPLY=( $(compgen -f -- ${cur}) )
+          ;;
+        "command")
+          COMPREPLY=( $(compgen -c -- ${cur}) )
+          ;;
+       *)
+          ;;
       esac
   esac