@@ -403,11 +403,6 @@ _oci-runtime-tool_generate() {
403403 local all_options=" $options_with_args $boolean_options "
404404
405405 case " $prev " in
406- --process-cap-add|--process-cap-drop)
407- __oci-runtime-tool_complete_capabilities
408- return
409- ;;
410-
411406 --env|-e)
412407 COMPREPLY=( $( compgen -e -- " $cur " ) )
413408 __oci-runtime-tool_nospace
@@ -420,14 +415,24 @@ _oci-runtime-tool_generate() {
420415 return
421416 ;;
422417
423- --gid)
424- _gids
418+ --hooks-poststart|--hooks-poststop|--hooks-prestart)
419+ COMPREPLY=( $( compgen -W " $( __oci-runtime-tool_hooks ) " -- " $cur " ) )
420+ __oci-runtime-tool_nospace
425421 return
426422 ;;
427423
428- --groups)
429- COMPREPLY=( $( compgen -W " $( __oci-runtime-tool_groups ) " -- " $cur " ) )
430- __oci-runtime-tool_nospace
424+ --linux-rootfs-propagation)
425+ __oci-runtime-tool_complete_propagations
426+ return
427+ ;;
428+
429+ --linux-seccomp-arch)
430+ __oci-runtime-tool_complete_seccomp_arches
431+ return
432+ ;;
433+
434+ --linux-seccomp-default)
435+ __oci-runtime-tool_complete_seccomp_actions
431436 return
432437 ;;
433438
@@ -436,14 +441,24 @@ _oci-runtime-tool_generate() {
436441 return
437442 ;;
438443
439- --poststart|--poststop|--prestart)
440- COMPREPLY=( $( compgen -W " $( __oci-runtime-tool_hooks ) " -- " $cur " ) )
444+ --process-cap-add-ambient|--process-cap-add-bounding|--process-cap-add-effective|--process-cap-add-inheritable|--process-cap-add-permitted|--process-cap-drop-ambient|--process-cap-drop-bounding|--process-cap-drop-effective|--process-cap-drop-inheritable|--process-cap-drop-permitted)
445+ __oci-runtime-tool_complete_capabilities
446+ return
447+ ;;
448+
449+ --process-gid)
450+ _gids
451+ return
452+ ;;
453+
454+ --process-groups)
455+ COMPREPLY=( $( compgen -W " $( __oci-runtime-tool_groups ) " -- " $cur " ) )
441456 __oci-runtime-tool_nospace
442457 return
443458 ;;
444459
445- --root-propagation )
446- __oci-runtime-tool_complete_propagations
460+ --process-uid )
461+ _uids
447462 return
448463 ;;
449464
@@ -463,21 +478,6 @@ _oci-runtime-tool_generate() {
463478 esac
464479 return
465480 ;;
466-
467- --seccomp-arch)
468- __oci-runtime-tool_complete_seccomp_arches
469- return
470- ;;
471-
472- --seccomp-default)
473- __oci-runtime-tool_complete_seccomp_actions
474- return
475- ;;
476-
477- --uid)
478- _uids
479- return
480- ;;
481481 esac
482482
483483 case " $cur " in
0 commit comments