Updating bash completion for ps command

Signed-off-by: rajasec <rajasec79@gmail.com>
This commit is contained in:
rajasec 2016-10-22 21:51:21 +05:30
parent 850b9c0b50
commit b2a194f226
1 changed files with 17 additions and 0 deletions

View File

@ -289,6 +289,22 @@ _runc_pause() {
esac 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() { _runc_delete() {
local boolean_options=" local boolean_options="
--help --help
@ -744,6 +760,7 @@ _runc() {
kill kill
list list
pause pause
ps
restore restore
resume resume
run run