]> git.ipfire.org Git - thirdparty/util-linux.git/blobdiff - bash-completion/ipcrm
setterm: disallow "default" for --ulcolor/--hbcolor
[thirdparty/util-linux.git] / bash-completion / ipcrm
index fd85091c3cc934c40edd4a6e9fee98a7acbd5fee..1ed03f9ee681734b0c3b8ed6a1074e50b95023c0 100644 (file)
@@ -35,6 +35,9 @@ _ipcrm_module()
                        COMPREPLY=( $(compgen -W "$KEYIDS" -- $cur) )
                        return 0
                        ;;
+               '-h'|'--help'|'-V'|'--version')
+                       return 0
+                       ;;
        esac
        case $cur in
                '=')
@@ -43,16 +46,16 @@ _ipcrm_module()
                        return 0
                        ;;
        esac
-       OPTS="  -m --shmem-id
-               -M --shmem-key
-               -q --queue-id
-               -Q --queue-key
-               -s --semaphore-id
-               -S --semaphore-key
-               -a= --all=
-               -v --verbose
-               -h --help
-               -V --version"
+       OPTS="  --shmem-id
+               --shmem-key
+               --queue-id
+               --queue-key
+               --semaphore-id
+               --semaphore-key
+               --all=
+               --verbose
+               --help
+               --version"
        COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
        return 0
 }