Merge pull request #1140 from rajasec/ps-bash-completions

Updating bash completion for ps command
This commit is contained in:
Mrunal Patel
2016-10-24 09:56:39 -07:00
committed by GitHub
+17
View File
@@ -289,6 +289,22 @@ _runc_pause() {
esac
}
_runc_ps() {
local boolean_options="
--help
-h
"
case "$cur" in
-*)
COMPREPLY=( $( compgen -W "$boolean_options $options_with_args" -- "$cur" ) )
;;
*)
__runc_list_all
;;
esac
}
_runc_delete() {
local boolean_options="
--help
@@ -744,6 +760,7 @@ _runc() {
kill
list
pause
ps
restore
resume
run