Skip to content

Commit

Permalink
completions: update based on generate help message
Browse files Browse the repository at this point in the history
Signed-off-by: Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
  • Loading branch information
Ma Shimiao committed Jul 28, 2016
1 parent 008f8f7 commit 2c278ff
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions completions/bash/ocitools
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,7 @@ _ocitools_generate() {
--cap-add
--cap-drop
--cgroup
--cgroup-path
--cwd
--env
--gid
Expand All @@ -283,25 +284,31 @@ _ocitools_generate() {
--hostname
--help
--ipc
--label
--mount
--mount-cgroups
--mount-label
--network
--os
--output
--pid
--poststart
--poststop
--prestart
--root-propagation
--rootfs
--seccomp-default
--seccomp-allow
--seccomp-arch
--seccomp-default
--seccomp-errno
--seccomp-syscalls
--selinux-label
--mount-label
--sysctl
--tmplate
--tmpfs
--uid
--uidmappings
--user
--uts
"

Expand Down Expand Up @@ -330,11 +337,6 @@ _ocitools_generate() {
return
;;

--seccomp-default)
__ocitools_complete_seccomp_actions
return
;;

--root-propagation)
__ocitools_complete_propagations
return
Expand Down

0 comments on commit 2c278ff

Please sign in to comment.