]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
bash-completion: Don't offer short options where corresponding long one exists.
authorVille Skyttä <ville.skytta@iki.fi>
Sun, 7 Apr 2013 08:12:08 +0000 (11:12 +0300)
committerKarel Zak <kzak@redhat.com>
Mon, 8 Apr 2013 15:06:56 +0000 (17:06 +0200)
Users who know the short options can just hit the short option instead
of tab, and it's not likely that it would be helpful to present a list
of single character options to users who don't know them, doing so
just unnecessarily trashes the list of suggestions.

Signed-off-by: Ville Skyttä <ville.skytta@iki.fi>
74 files changed:
bash-completion/addpart
bash-completion/blkdiscard
bash-completion/cal
bash-completion/chcpu
bash-completion/chfn
bash-completion/chrt
bash-completion/chsh
bash-completion/col
bash-completion/colcrt
bash-completion/colrm
bash-completion/column
bash-completion/cytune
bash-completion/delpart
bash-completion/dmesg
bash-completion/eject
bash-completion/fallocate
bash-completion/fdformat
bash-completion/findmnt
bash-completion/flock
bash-completion/fsck.cramfs
bash-completion/fsck.minix
bash-completion/fsfreeze
bash-completion/fstrim
bash-completion/getopt
bash-completion/hwclock
bash-completion/ionice
bash-completion/ipcrm
bash-completion/ipcs
bash-completion/isosize
bash-completion/ldattach
bash-completion/logger
bash-completion/look
bash-completion/losetup
bash-completion/lsblk
bash-completion/lscpu
bash-completion/lslocks
bash-completion/mcookie
bash-completion/mesg
bash-completion/mkfs
bash-completion/mkfs.bfs
bash-completion/mkswap
bash-completion/mountpoint
bash-completion/namei
bash-completion/newgrp
bash-completion/nsenter
bash-completion/partx
bash-completion/prlimit
bash-completion/raw
bash-completion/readprofile
bash-completion/rename
bash-completion/renice
bash-completion/resizepart
bash-completion/rev
bash-completion/rtcwake
bash-completion/script
bash-completion/scriptreplay
bash-completion/setarch
bash-completion/setpriv
bash-completion/setsid
bash-completion/sfdisk
bash-completion/su
bash-completion/swaplabel
bash-completion/swapon
bash-completion/tailf
bash-completion/taskset
bash-completion/tunelp
bash-completion/ul
bash-completion/unshare
bash-completion/utmpdump
bash-completion/uuidd
bash-completion/uuidgen
bash-completion/wall
bash-completion/wdctl
bash-completion/wipefs

index b6f119a75e52453871f3bfd3c378c91266344ca9..2b1e6bb5ef6f064df2cfd3ec3eac2136f13cedfa 100644 (file)
@@ -7,7 +7,7 @@ _addpart_module()
                1)
                        local DEVS=''
                        while read dev; do DEVS+="$dev " ; done < <(lsblk -pnro name)
-                       OPTS="-h --help -V --version $DEVS"
+                       OPTS="--help --version $DEVS"
                        COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
                        ;;
                2)
index d19ab05a5695baa506ca7931f48178689b16cc29..310cdfb1f351a5bb733b676b79ec5f7e1b722d5a 100644 (file)
@@ -15,7 +15,7 @@ _blkdiscard_module()
        esac
        case $cur in
                -*)
-                       OPTS="-o --offset -l --length -s --secure -v --verbose -h --help -V --version"
+                       OPTS="--offset --length --secure --verbose --help --version"
                        COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
                        return 0
                        ;;
index 6c7c1743dad585de26d2c6e83564677f0bae2f17..9a90a2a59a6f7e641ed9f6be7d4cd331dcee9a7b 100644 (file)
@@ -11,7 +11,7 @@ _cal_module()
        esac
        case $cur in
                -*)
-                       OPTS="-1 --one -3 --three -s --sunday -m --monday -j --julian -y --year -V --version -h --help"
+                       OPTS="--one --three --sunday --monday --julian --year --version --help"
                        COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
                        return 0
                        ;;
index d05b650e6af356dc1b737d91b3e6d8ae55ae7f31..da9c6caf0aaf7a728d9f2e15aa82ea921a1b0358 100644 (file)
@@ -33,14 +33,14 @@ _chcpu_module()
                        return 0
                        ;;
        esac
-       OPTS="-h --help
-               -e --enable
-               -d --disable
-               -c --configure
-               -g --deconfigure
-               -p --dispatch
-               -r --rescan
-               -V --version"
+       OPTS="--help
+               --enable
+               --disable
+               --configure
+               --deconfigure
+               --dispatch
+               --rescan
+               --version"
        COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
        return 0
 }
index 01139e8ba1394d13b3b6787b66274f9cd1839ced..1ca0f729fa8528308bc6f332196bbf42508408f6 100644 (file)
@@ -11,7 +11,7 @@ _chfn_module()
        esac
        case $cur in
                -*)
-                       OPTS="-f --full-name -o --office -p --office-phone -h --home-phone -u --help -v --version"
+                       OPTS="--full-name --office --office-phone --home-phone --help --version"
                        COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
                        return 0
                        ;;
index b2e521630c8d7bd0aadfc8cdf1a75e873a0f077c..388d2981956cc3cb709c059db79648ec5c72eb02 100644 (file)
@@ -14,18 +14,18 @@ _chrt_module()
        # values.  Perhaps the command interface should be reconsidered.
        case $cur in
                -*)
-                       OPTS="-b --batch
-                               -f --fifo
-                               -i --idle
-                               -o --other
-                               -r --rr
-                               -R --reset-on-fork
-                               -a --all-tasks
-                               -h --help
-                               -m --max
-                               -p --pid
-                               -v --verbose
-                               -V --version"
+                       OPTS="--batch
+                               --fifo
+                               --idle
+                               --other
+                               --rr
+                               --reset-on-fork
+                               --all-tasks
+                               --help
+                               --max
+                               --pid
+                               --verbose
+                               --version"
                        COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
                        return 0
                        ;;
index 5b191e9699b133adb85071af6f78275cc84a1101..70641947cae1687b55438565b2f0b322c3b84c50 100644 (file)
@@ -15,7 +15,7 @@ _chsh_module()
        esac
        case $cur in
                -*)
-                       OPTS="-s --shell -l --list-shells -V --version -u --help"
+                       OPTS="--shell --list-shells --version --help"
                        COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
                        return 0
                        ;;
index 41cac724055a6f456bc069234c37929443c6912d..cea57b5998031da10df97ce377e1e01e8904fae1 100644 (file)
@@ -13,14 +13,14 @@ _col_module()
                        return 0
                        ;;
        esac
-       OPTS="-b --no-backspaces
-               -f --fine
-               -p --pass
-               -h --tabs
-               -x --spaces
-               -l --lines
-               -V --version
-               -H --help"
+       OPTS="--no-backspaces
+               --fine
+               --pass
+               --tabs
+               --spaces
+               --lines
+               --version
+               --help"
        COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
        return 0
 }
index 28093a89a1505eda7fde8648c2174077220c739f..f9e4c333fcf023d39e954cfc166a6f07b09650a5 100644 (file)
@@ -11,10 +11,10 @@ _colcrt_module()
        esac
        case $cur in
                -*)
-                       OPTS="  -  --no-underlining
-                               -2 --half-lines
-                               -V --version
-                               -h --help"
+                       OPTS="  --no-underlining
+                               --half-lines
+                               --version
+                               --help"
                        COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
                        return 0
                        ;;
index 54706b36fdce3b222537c5dc4c45c577a73b2de8..622dbaab3b2dbc4f4136a453bdb7bf6c2664ebf5 100644 (file)
@@ -11,7 +11,7 @@ _colrm_module()
        esac
        case $cur in
                -*)
-                       OPTS="-V --version -h --help"
+                       OPTS="--version --help"
                        COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
                        return 0
                        ;;
index 23d923f07ee38a9252d456310add57cb5140ec89..f5cb86b9c2ff9b6823b5eb4556bfd4bafda0a207 100644 (file)
@@ -19,13 +19,13 @@ _column_module()
        esac
        case $cur in
                -*)
-                       OPTS="-c --columns
-                               -t --table
-                               -s --separator
-                               -o --output-separator
-                               -x --fillrows
-                               -h --help
-                               -V --version"
+                       OPTS="--columns
+                               --table
+                               --separator
+                               --output-separator
+                               --fillrows
+                               --help
+                               --version"
                        COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
                        return 0
                        ;;
index 7ded86c0408e2dca9e14d92511bfcccdbb92e729..4f42838050313304d7e5cc274ab879cae1f98949 100644 (file)
@@ -19,16 +19,16 @@ _cytune_module()
        esac
        case $cur in
                -*)
-                       OPTS="-s --set-threshold
-                               -g --get-threshold
-                               -S --set-default-threshold
-                               -t --set-flush
-                               -G --get-glush
-                               -T --set-default-flush
-                               -q --stats
-                               -i --interval
-                               -h --help
-                               -V --version"
+                       OPTS="--set-threshold
+                               --get-threshold
+                               --set-default-threshold
+                               --set-flush
+                               --get-glush
+                               --set-default-flush
+                               --stats
+                               --interval
+                               --help
+                               --version"
                        COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
                        return 0
                        ;;
index 70543f0a033087dfd2100aa1a06434cbd52c85c9..a4b20c80f130fd4e6c84381bef902993e2e2dfb6 100644 (file)
@@ -15,7 +15,7 @@ _delpart_module()
                        while read DEV TYPE; do
                                [ $TYPE = 'disk' ] && DEVICES+="$DEV "
                        done < <(lsblk -pnro name,type)
-                       OPTS="-h --help -V --version $DEVICES"
+                       OPTS="--help --version $DEVICES"
                        COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
                        ;;
                2)
index f1189d2c68cd02d9ec53624281000438554927ab..60ecc1af60a50bb919713f0d0dc9066bbe297d14 100644 (file)
@@ -26,30 +26,30 @@ _dmesg_module()
                        return 0
                        ;;
        esac
-       OPTS="-C --clear
-               -c --read-clear
-               -D --console-off
-               -d --show-delta
-               -e --reltime
-               -E --console-on
-               -F --file
-               -f --facility
-               -H --human
-               -k --kernel
-               -L --color
-               -l --level
-               -n --console-level
-               -P --nopager
-               -r --raw
-               -S --syslog
-               -s --buffer-size
-               -T --ctime
-               -t --notime
-               -u --userspace
-               -w --follow
-               -x --decode
-               -h --help
-               -V --version"
+       OPTS="--clear
+               --read-clear
+               --console-off
+               --show-delta
+               --reltime
+               --console-on
+               --file
+               --facility
+               --human
+               --kernel
+               --color
+               --level
+               --console-level
+               --nopager
+               --raw
+               --syslog
+               --buffer-size
+               --ctime
+               --notime
+               --userspace
+               --follow
+               --decode
+               --help
+               --version"
        COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
        return 0
 }
index 8c2d62f997dd02b985e06b76bf22edc281937a65..bb7187f0422c9fc75dc22c3c95123f13eb523cb4 100644 (file)
@@ -24,26 +24,26 @@ _eject_module()
        esac
        case $cur in
                -*)
-                       OPTS="-a --auto
-                       -c --changerslot
-                       -d --default
-                       -f --floppy
-                       -F --force
-                       -i --manualeject
-                       -m --no-unmount
-                       -M --no-partitions-unmount
-                       -n --noop
-                       -p --proc
-                       -q --tape
-                       -r --cdrom
-                       -s --scsi
-                       -t --trayclose
-                       -T --traytoggle
-                       -v --verbose
-                       -x --cdspeed
-                       -X --listspeed
-                       -h --help
-                       -V --version"
+                       OPTS="--auto
+                               --changerslot
+                               --default
+                               --floppy
+                               --force
+                               --manualeject
+                               --no-unmount
+                               --no-partitions-unmount
+                               --noop
+                               --proc
+                               --tape
+                               --cdrom
+                               --scsi
+                               --trayclose
+                               --traytoggle
+                               --verbose
+                               --cdspeed
+                               --listspeed
+                               --help
+                               --version"
                        COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
                        return 0
                        ;;
index f3431b73082f5e1c8847ef089351b71199933018..5007b605e04cff26c9e140b46873f3f2d6abd9b4 100644 (file)
@@ -15,7 +15,7 @@ _fallocate_module()
        esac
        case $cur in
                -*)
-                       OPTS="-n --keep-size -p --punch-hole -o --offset -l --length -h --help -V --version"
+                       OPTS="--keep-size --punch-hole --offset --length --help --version"
                        COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
                        return 0
                        ;;
index 376000a16d6e1e596ab686b5dac426862c9a3b1b..d1b18fa0434e648c5e058d2a238f32488c2f9a8f 100644 (file)
@@ -10,7 +10,7 @@ _fdformat_module()
                        ;;
        esac
        DEVS=$(for I in echo /dev/fd*; do if [ -e $I ]; then echo $I; fi; done)
-       OPTS="-n --no-verify -h --help -V --version $DEVS"
+       OPTS="--no-verify --help --version $DEVS"
        COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
        return 0
 }
index a6d526f7149c936cd4289ca9cd8aa96e694faccb..9386d8f5a88c8bb1584caa5df28a88800d6def28 100644 (file)
@@ -83,35 +83,35 @@ _findmnt_module()
        esac
        case $cur in
                -*)
-                       OPTS="-s --fstab
-                               -m --mtab
-                               -k --kernel
-                               -p --poll
-                               -w --timeout
-                               -A --all
-                               -a --ascii
-                               -c --canonicalize
-                               -D --df
-                               -d --direction
-                               -e --evaluate
-                               -F --tab-file
-                               -f --first-only
-                               -i --invert
-                               -l --list
-                               -N --task
-                               -n --noheadings
-                               -u --notruncate
-                               -O --options
-                               -o --output
-                               -P --pairs
-                               -r --raw
-                               -t --types
-                               -v --nofsroot
-                               -R --submounts
-                               -S --source
-                               -T --target
-                               -h --help
-                               -V --version"
+                       OPTS="--fstab
+                               --mtab
+                               --kernel
+                               --poll
+                               --timeout
+                               --all
+                               --ascii
+                               --canonicalize
+                               --df
+                               --direction
+                               --evaluate
+                               --tab-file
+                               --first-only
+                               --invert
+                               --list
+                               --task
+                               --noheadings
+                               --notruncate
+                               --options
+                               --output
+                               --pairs
+                               --raw
+                               --types
+                               --nofsroot
+                               --submounts
+                               --source
+                               --target
+                               --help
+                               --version"
                        COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
                        return 0
                        ;;
index 918a7d894e2c7a9de72323f4922c6a6a3a63928f..8cd60d33e5ffe6470d5810563a59b7e6d7f42785 100644 (file)
@@ -24,16 +24,16 @@ _flock_module()
        esac
        case $cur in
                -*)
-                       OPTS="-s --shared
-                               -x --exclusive
-                               -u --unlock
-                               -n --nonblock
-                               -w --timeout
-                               -E --conflict-exit-code
-                               -o --close
-                               -c --command
-                               -h --help
-                               -V --version"
+                       OPTS="--shared
+                               --exclusive
+                               --unlock
+                               --nonblock
+                               --timeout
+                               --conflict-exit-code
+                               --close
+                               --command
+                               --help
+                               --version"
                        COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
                        return 0
                        ;;
index bfc18edf2e0ede04c6574368c03dca9c060b2c96..84f6f31b462f1008b14c34c41969c50e37d098ad 100644 (file)
@@ -4,7 +4,6 @@ _fsck.cramfs_module()
        COMPREPLY=()
        cur="${COMP_WORDS[COMP_CWORD]}"
        prev="${COMP_WORDS[COMP_CWORD-1]}"
-       OPTS='-v --verbose -x --destination -h --help -V --version file'
        case $prev in
                '-x'|'--destination')
                        compopt -o filenames
@@ -15,6 +14,7 @@ _fsck.cramfs_module()
                        return 0
                        ;;
        esac
+       OPTS='--verbose --destination --help --version file'
        COMPREPLY=( $(compgen -W "${OPTS[*]}" -S ' ' -- $cur) )
        return 0
 }
index e702199555480c166312b0c94d00a218da6a21b4..1ec9a7823d0db7f7e4bc14192b528987964be56a 100644 (file)
@@ -10,7 +10,7 @@ _fsck.minix_module()
                        ;;
        esac
        while read dev; do DEVS+="$dev " ; done < <(lsblk -pnro name)
-       OPTS="-l -a -r -v -s -m -f -V --version"
+       OPTS="-l -a -r -v -s -m -f --version"
        COMPREPLY=( $(compgen -W "${OPTS[*]} $DEVS" -- $cur) )
        return 0
 }
index ec29b1e4d4add5a83fd80ebeb5e2b86815666cab..05bd68e428ab102fe7a7f3d3481b020ada7c2fdb 100644 (file)
@@ -11,7 +11,7 @@ _fsfreeze_module()
        esac
        case $cur in
                -*)
-                       OPTS="-f --freeze -u --unfreeze -h --help -V --version"
+                       OPTS="--freeze --unfreeze --help --version"
                        COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
                        return 0
                        ;;
index 5427e7285d8e9279b2ca27f4d08fe8f4e8a822a5..9984eb63091ebe27f3011f1ca46880a8138b2cf9 100644 (file)
@@ -15,7 +15,7 @@ _fstrim_module()
        esac
        case $cur in
                -*)
-                       OPTS="-o --offset -l --length -m --minimum -v --verbose -h --help -V --version"
+                       OPTS="--offset --length --minimum --verbose --help --version"
                        COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
                        return 0
                        ;;
index d18d2a166ecfeb27e6e21d41db59ead405a40eb1..5e3fca61cbca805755a39ba3f38510395c775d7a 100644 (file)
@@ -27,7 +27,7 @@ _getopt_module()
        esac
        case $cur in
                -*)
-                       OPTS="-a --alternative -h --help -l --longoptions -n --name -o --options -q --quiet -Q --quiet-output -s --shell -T --test -u --unquote -V --version"
+                       OPTS="--alternative --help --longoptions --name --options --quiet --quiet-output --shell --test --unquoted --version"
                        COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
                        return 0
                        ;;
index b09e63df014c7d1ee94153de93575164152b2519..0c4ebafc19ecb615a76a583f5dc22238607340f7 100644 (file)
@@ -24,29 +24,29 @@ _hwclock_module()
        esac
        case $cur in
                -*)
-                       OPTS="-h --help
-                               -r --show
-                                  --set
-                               -s --hctosys
-                               -w --systohc
-                                  --systz
-                                  --adjust
-                               -c --compare
-                                  --getepoch
-                                  --setepoch
-                                  --predict
-                               -V --version
-                               -u --utc
-                                  --localtime
-                               -f --rtc
-                                  --directisa
-                                  --badyear
-                                  --date
-                                  --epoch
-                                  --noadjfile
-                                  --adjfile
-                                  --test
-                               -D --debug"
+                       OPTS="--help
+                               --show
+                               --set
+                               --hctosys
+                               --systohc
+                               --systz
+                               --adjust
+                               --compare
+                               --getepoch
+                               --setepoch
+                               --predict
+                               --version
+                               --utc
+                               --localtime
+                               --rtc
+                               --directisa
+                               --badyear
+                               --date
+                               --epoch
+                               --noadjfile
+                               --adjfile
+                               --test
+                               --debug"
                        COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
                        return 0
                        ;;
index 4d5596896d85fc4b17f53656ed7a51b38dab5e46..3a01c5125f1ed1b650e720b13b9ad9e51516fc0c 100644 (file)
@@ -25,7 +25,7 @@ _ionice_module()
        esac
        case $cur in
                -*)
-                       OPTS="-c --class -n --classdata -p --pid -t --ignore -V --version -h --help"
+                       OPTS="--class --classdata --pid --ignore --version --help"
                        COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
                        return 0
                        ;;
index 6e2aff067dee920a06f2afe0bbda2d27dc30d134..1ed03f9ee681734b0c3b8ed6a1074e50b95023c0 100644 (file)
@@ -46,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
 }
index 2cb7e613ceecf4f912b2d27bd11d97a5eb608361..ce93e4d8e851fe83aae6b7c78346631ad8812ef6 100644 (file)
@@ -13,20 +13,20 @@ _ipcs_module()
                        return 0
                        ;;
        esac
-       OPTS="-i --id
-               -h --help
-               -V --version
-               -m --shmems
-               -q --queues
-               -s --semaphores
-               -a --all
-               -t --time
-               -p --pid
-               -c --creator
-               -l --limits
-               -u --summary
-                  --human
-               -b --bytes"
+       OPTS="--id
+               --help
+               --version
+               --shmems
+               --queues
+               --semaphores
+               --all
+               --time
+               --pid
+               --creator
+               --limits
+               --summary
+               --human
+               --bytes"
        COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
        return 0
 }
index 487e40d979d46d2fd075fa4961a929213018a0bb..13d4d298a7e3fa6cfec604afef9f9a2aebf9007c 100644 (file)
@@ -4,7 +4,6 @@ _isosize_module()
        COMPREPLY=()
        cur="${COMP_WORDS[COMP_CWORD]}"
        prev="${COMP_WORDS[COMP_CWORD-1]}"
-       OPTS='-d --divisor -x --sectors -h --help -V --version'
        case $prev in
                '-d'|'--divisor')
                        COMPREPLY=( $(compgen -W "number" -- $cur) )
@@ -14,6 +13,7 @@ _isosize_module()
                        return 0
                        ;;
        esac
+       OPTS='--divisor --sectors --help --version'
        COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
        return 0
 }
index a53329c6318918fa7b0112bb17c4d97860f56b48..830142d2352664aa82bb6b64eb56520d585c4625 100644 (file)
@@ -26,18 +26,18 @@ _ldattach_module()
        esac
        case $cur in
                -*)
-                       OPTS="-d --debug
-                               -s --speed
-                               -7 --sevenbits
-                               -8 --eightbits
-                               -n --noparity
-                               -e --evenparity
-                               -o --oddparity
-                               -1 --onestopbit
-                               -2 --twostopbits
-                               -i --iflag
-                               -h --help
-                               -V --version"
+                       OPTS="--debug
+                               --speed
+                               --sevenbits
+                               --eightbits
+                               --noparity
+                               --evenparity
+                               --oddparity
+                               --onestopbit
+                               --twostopbits
+                               --iflag
+                               --help
+                               --version"
                        COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
                        return 0
                        ;;
index 7a2b46036253f602d4835ce19c56cb7ecd855cb1..f46be8ad029eed781c6636610e60eea4e97d1127 100644 (file)
@@ -36,7 +36,7 @@ _logger_module()
        esac
        case $cur in
                -*)
-                       OPTS="-d --udp -i --id -f --file -h --help -n --server -P --port -p --priority -s --stderr -t --tag -u --socket -V --version"
+                       OPTS="--udp --id --file --help --server --port --priority --stderr --tag --socket --version"
                        COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
                        return 0
                        ;;
index daa5ecb713c1a58f3bf731d63b6013d211d218cf..e8676bae47dd50830189dd0e054103b54f6fa204 100644 (file)
@@ -15,7 +15,7 @@ _look_module()
        esac
        case $cur in
                -*)
-                       OPTS="-a --alternative -d --alphanum -f --ignore-case -t --terminate -V --version -h --help"
+                       OPTS="--alternative --alphanum --ignore-case --terminate --version --help"
                        COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
                        return 0
                        ;;
index 4afcd3ff0215b7e355905abe7c54c788c223799e..75240b8c93348e1010b94fc23c305b0b25dd88fd 100644 (file)
@@ -40,22 +40,22 @@ _losetup_module()
        esac
        case $cur in
                -*)
-                       OPTS="-a --all
-                               -d --detach
-                               -D --detach-all
-                               -f --find
-                               -c --set-capacity
-                               -j --associated
-                               -l --list
-                               -o --offset
-                               -O --output
-                                  --sizelimit
-                               -P --partscan
-                               -r --read-only
-                                  --show
-                               -v --verbose
-                               -h --help
-                               -V --version"
+                       OPTS="--all
+                               --detach
+                               --detach-all
+                               --find
+                               --set-capacity
+                               --associated
+                               --list
+                               --offset
+                               --output
+                               --sizelimit
+                               --partscan
+                               --read-only
+                               --show
+                               --verbose
+                               --help
+                               --version"
                        COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
                        return 0
                        ;;
index e1e4dd7816f891bee37b5d9b03b540be6dcd2f8d..07e936819589764470bcef880e084a91c209f5a9 100644 (file)
@@ -36,26 +36,26 @@ _lsblk_module()
        esac
        case $cur in
                -*)
-                       OPTS="-a --all
-                               -b --bytes
-                               -d --nodeps
-                               -D --discard
-                               -e --exclude
-                               -I --include
-                               -f --fs
-                               -h --help
-                               -i --ascii
-                               -m --perms
-                               -l --list
-                               -n --noheadings
-                               -o --output
-                               -P --pairs
-                               -r --raw
-                               -s --inverse
-                               -t --topology
-                               -S --scsi
-                               -h --help
-                               -V --version"
+                       OPTS="--all
+                               --bytes
+                               --nodeps
+                               --discard
+                               --exclude
+                               --fs
+                               --help
+                               --include
+                               --ascii
+                               --list
+                               --perms
+                               --noheadings
+                               --output
+                               --pairs
+                               --raw
+                               --inverse
+                               --topology
+                               --scsi
+                               --help
+                               --version"
                        COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
                        return 0
                        ;;
index 5df0f9f74790ff54eb3a0058ecd5745d319f8450..bce07c4127858aae0b6e5cda5620afbddcb85f86 100644 (file)
@@ -28,15 +28,15 @@ _lscpu_module()
        esac
        case $cur in
                -*)
-                       OPTS="-a --all
-                               -b --online
-                               -c --offline
-                               -e= --extended=
-                               -p= --parse=
-                               -s --sysroot
-                               -x --hex
-                               -h --help
-                               -V --version"
+                       OPTS="--all
+                               --online
+                               --offline
+                               --extended=
+                               --parse=
+                               --sysroot
+                               --hex
+                               --help
+                               --version"
                        COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
                        return 0
                        ;;
index cde81b137c1ccad21779710c74a56526f34cb56d..337d07e04b260c8404c2879fa41b2d9e3b6750d1 100644 (file)
@@ -27,13 +27,13 @@ _lslocks_module()
        esac
        case $cur in
                -*)
-                       OPTS="-p --pid
-                               -o --output
-                               -n --noheadings
-                               -r --raw
-                               -u --notruncate
-                               -h --help
-                               -V --version"
+                       OPTS="--pid
+                               --output
+                               --noheadings
+                               --raw
+                               --notruncate
+                               --help
+                               --version"
                        COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
                        return 0
                        ;;
index ce5ee9cda2375c1105227bf4a8310a0caa4fbe3b..eb3f54b5f70db214cf0ea8d29379c61cae6111cc 100644 (file)
@@ -16,7 +16,7 @@ _mcookie_module()
        esac
        case $cur in
                -*)
-                       OPTS="-f --file -v --verbose -V --version -h --help"
+                       OPTS="--file --verbose --version --help"
                        COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
                        return 0
                        ;;
index 8513c02992d0f3141dd45f60a43e89af315c501a..1f80babe5081d5604b3f798c0759b95e4c30ad5d 100644 (file)
@@ -11,7 +11,7 @@ _mesg_module()
        esac
        case $cur in
                -*)
-                       OPTS="-v --verbose -V --version -h --help"
+                       OPTS="--verbose --version --help"
                        COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
                        return 0
                        ;;
index 48684fea40da47b14ee2ed2c3fe934dcb247c32b..4e6e17568b710f56268ab921e9864530e0887afb 100644 (file)
@@ -16,7 +16,7 @@ _mkfs_module()
        esac
        case $cur in
                -*)
-                       OPTS='-t --type --verbose -h --help -V --version'
+                       OPTS='--type --verbose --help --version'
                        COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
                        return 0
                        ;;
index 44f15f3432423d00b5d0c70260ab6d815d660add..8adbc60847dd2b87b924a31908fc335b7d72a24d 100644 (file)
@@ -19,7 +19,7 @@ _bfs_module()
        esac
        case $cur in
                -*)
-                       OPTS='-N --inodes --vname --fname -v --verbose -h --help -V --version'
+                       OPTS='--inodes --vname --fname --verbose --help --version'
                        COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
                        return 0
                        ;;
index 32bc533cf21432d5bac1c15477bc231a489d4e47..c411b3005400dd2df42d7536cb77773e40671560 100644 (file)
@@ -23,7 +23,7 @@ _mkswap_module()
        esac
        case $cur in
                -*)
-                       OPTS="-c --check -f --force -p --pagesize -L  --label -v --swapversion -U --uuid -V --version -h --help"
+                       OPTS="--check --force --pagesize --label --swapversion --uuid --version --help"
                        COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
                        return 0
                        ;;
index 308c4d696dd8f7ea3d32d02d533444719ec2d7ad..8fe27b813e16d63ef3d11a027cbe747fb3f29c8b 100644 (file)
@@ -15,7 +15,7 @@ _mountpoint_module()
        esac
        case $cur in
                -*)
-                       OPTS="-q --quiet -d --fs-devno -x --devno -h --help -V --version"
+                       OPTS="--quiet --fs-devno --devno --help --version"
                        COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
                        return 0
                        ;;
index 561f45fdf4ffeb41c3b005b9ac9f59a3644aacba..63fb37ac18a56759d81fb7e89a15bc87b15d64c6 100644 (file)
@@ -11,7 +11,7 @@ _namei_module()
        esac
        case $cur in
                -*)
-                       OPTS="-h --help -V --version -x --mountpoints -m --modes -o --owners -l --long -n --nosymlinks -v --vertical"
+                       OPTS="--help --version --mountpoints --modes --owners --long --nosymlinks --vertical"
                        COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
                        return 0
                        ;;
index 3e080dfd32e37240b49729e59a070d23305564b3..1e39c0f42ef4472a3e8cce80f5639b8dfca316ca 100644 (file)
@@ -11,7 +11,7 @@ _newgrp_module()
        esac
        case $cur in
                -*)
-                       OPTS="-V --version -h --help"
+                       OPTS="--version --help"
                        COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
                        return 0
                        ;;
index 7950eab981dd3242a1d338cf3dc3d35882b0988a..2970b8d5ef7db291256fc5406f58f4cd9dff97e3 100644 (file)
@@ -24,18 +24,18 @@ _nsenter_module()
                        cur=${cur#=}
                        ;;
                -*)
-                       OPTS="-t --target
-                               -m= --mount=
-                               -u= --uts=
-                               -i= --ipc=
-                               -n= --net=
-                               -p= --pid=
-                               -U= --user=
-                               -r= --root=
-                               -w= --wd=
-                               -F --no-fork
-                               -h --help
-                               -V --version"
+                       OPTS="--target
+                               --mount=
+                               --uts=
+                               --ipc=
+                               --net=
+                               --pid=
+                               --user=
+                               --root=
+                               --wd=
+                               --no-fork
+                               --help
+                               --version"
                        COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
                        return 0
                        ;;
index b643dd8d31ee8e244d99530ad994e0a41ae93ebc..7b08fa8046c03b8683f7b240789046171e36af50 100644 (file)
@@ -26,7 +26,7 @@ _partx_module()
        esac
        case $cur in
                -*)
-                       OPTS="-a --add -d --delete -s --show -u --update -b --bytes -g --noheadings -n --nr -o --output -P --pairs -r --raw -t --type -v --verbose -h --help -V --version"
+                       OPTS="--add --delete --show --update --bytes --noheadings --nr --output --pairs --raw --type --verbose --help --version"
                        COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
                        return 0
                        ;;
index 3c1a1ac629aa7b651a371ae44e6fe433f72b1a0a..c6802143d2615e5ba8761033bca61e2ad93b8e46 100644 (file)
@@ -29,29 +29,29 @@ _prlimit_module()
                        # as limit value(s)
                        ;;
                -*)
-                       OPTS="-p --pid
-                               -o --output
-                                  --noheadings
-                                  --raw
-                                  --verbose
-                               -h --help
-                               -V --version
-                               -c= --core=
-                               -d= --data=
-                               -e= --nice=
-                               -f= --fsize=
-                               -i= --sigpending=
-                               -l= --memlock=
-                               -m= --rss=
-                               -n= --nofile=
-                               -q= --msgqueue=
-                               -r= --rtprio=
-                               -s= --stack=
-                               -t= --cpu=
-                               -u= --nproc=
-                               -v= --as=
-                               -x= --locks=
-                               -y --rttime"
+                       OPTS="--pid
+                               --output
+                               --noheadings
+                               --raw
+                               --verbose
+                               --help
+                               --version
+                               --core=
+                               --data=
+                               --nice=
+                               --fsize=
+                               --sigpending=
+                               --memlock=
+                               --rss=
+                               --nofile=
+                               --msgqueue=
+                               --rtprio=
+                               --stack=
+                               --cpu=
+                               --nproc=
+                               --as=
+                               --locks=
+                               --rttime="
                        COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
                        return 0
                        ;;
index 231f2cc4f15a238b020e51497d1872b55d95561e..20c3261168cb62901c9c58a766e9f2bbfc830f8a 100644 (file)
@@ -12,7 +12,7 @@ _raw_module()
        case $cur in
                -*)
                        local OPTS
-                       OPTS="-q --query -a --all -h --help -V --version"
+                       OPTS="--query --all --help --version"
                        COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
                        return 0
                        ;;
index 41454a3730cb4ec8d48d28205ea96c9b4266c9e3..a5f45f56408802fc7f969f344763720711f4d5ca 100644 (file)
@@ -18,18 +18,18 @@ _readprofile_module()
                        return 0
                        ;;
        esac
-       OPTS="-m --mapfile
-               -p --profile
-               -M --multiplier
-               -i --info
-               -v --verbose
-               -a --all
-               -b --histbin
-               -s --counters
-               -r --reset
-               -n --no-auto
-               -h --help
-               -V --version"
+       OPTS="--mapfile
+               --profile
+               --multiplier
+               --info
+               --verbose
+               --all
+               --histbin
+               --counters
+               --reset
+               --no-auto
+               --help
+               --version"
        COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
        return 0
 }
index b42d2d186417bacb3d0d868ebcef387e82d803be..3842c4d149050fbde9847231e4ca0226074dc161 100644 (file)
@@ -11,7 +11,7 @@ _rename_module()
        esac
        case $cur in
                -*)
-                       OPTS="-v --verbose -s --symlink  -h --help -V --version"
+                       OPTS="--verbose --symlink --help --version"
                        COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
                        return 0
                        ;;
index 9693590f87e89805b25ff6478f5ad7a272bb367a..c3e9331b0810dfbda5a0e66cb3204e7cc2f14787 100644 (file)
@@ -29,12 +29,12 @@ _renice_module()
                        return 0
                        ;;
        esac
-       OPTS="-g --pgrp
-               -n --priority
-               -p --pid
-               -u --user
-               -h --help
-               -V --version"
+       OPTS="--pgrp
+               --priority
+               --pid
+               --user
+               --help
+               --version"
        COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
        return 0
 }
index e55005aa68e81be925ea480e5a4eaef96f1408ec..c78af15c501e6f0aa0ad8a5ea23ccadf2603207e 100644 (file)
@@ -15,7 +15,7 @@ _resizepart_module()
                        while read DEV TYPE; do
                                [ $TYPE = 'disk' ] && DEVICES+="$DEV "
                        done < <(lsblk -pnro name,type)
-                       OPTS="-h --help -V --version $DEVICES"
+                       OPTS="--help --version $DEVICES"
                        COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
                        ;;
                2)
index 2ba5781695f3ef6ae078ce50795cbfbd60b43521..619c5c4f6757180605e7ee5441caaf873f943cde 100644 (file)
@@ -11,7 +11,7 @@ _rev_module()
        esac
        case $cur in
                -*)
-                       OPTS="-V --version -h --help"
+                       OPTS="--version --help"
                        COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
                        return 0
                        ;;
index e54d105c11fadac73d68e9fd8a116ba6b86f2805..d7d1427011d740faa70627e985af1647e86dc0ad 100644 (file)
@@ -27,16 +27,16 @@ _rtcwake_module()
                        return 0
                        ;;
        esac
-       OPTS="-d --device
-               -n --dry-run
-               -l --local
-               -m --mode
-               -s --seconds
-               -t --time
-               -u --utc
-               -v --verbose
-               -h --help
-               -V --version"
+       OPTS="--device
+               --dry-run
+               --local
+               --mode
+               --seconds
+               --time
+               --utc
+               --verbose
+               --help
+               --version"
        COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
        return 0
 }
index c02f1be9d7d4949c2006c8438fb8faa64d1fdbf1..329fc482faa7ebf1ecaba434ae8b848b7af76e1a 100644 (file)
@@ -19,15 +19,15 @@ _script_module()
                        cur=${cur#=}
                        ;;
                -*)
-                       OPTS="-a --append
-                               -c --command
-                               -e --return
-                               -f --flush
-                                  --force
-                               -q --quiet
-                               -t= --timing=
-                               -V --version
-                               -h --help"
+                       OPTS="--append
+                               --command
+                               --return
+                               --flush
+                               --force
+                               --quiet
+                               --timing=
+                               --version
+                               --help"
                        COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
                        return 0
                        ;;
index 09b0d01c531910a4b9968a7476f4864179e21a82..2ad7b118c7ab94f477d7f2e453cab5afef6e6e76 100644 (file)
@@ -15,11 +15,11 @@ _scriptreplay_module()
        esac
        case $cur in
                -*)
-                       OPTS="-t --timing
-                               -s --typescript
-                               -d --divisor
-                               -V --version
-                               -h --help"
+                       OPTS="--timing
+                               --typescript
+                               --divisor
+                               --version
+                               --help"
                        COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
                        return 0
                        ;;
index 6224a11caed23815cc64dda46e369527a8c6b589..80aabd5aa2087704c344983c75ddaa7f057c4f84 100644 (file)
@@ -22,21 +22,21 @@ _setarch_module()
        fi
        case $cur in
                -*)
-                       OPTS="-v, --verbose
-                               -R, --addr-no-randomize
-                               -F, --fdpic-funcptrs
-                               -Z, --mmap-page-zero
-                               -L, --addr-compat-layout
-                               -X, --read-implies-exec
-                               -B, --32bit
-                               -I, --short-inode
-                               -S, --whole-seconds
-                               -T, --sticky-timeouts
-                               -3, --3gb
-                                   --4gb
-                                   --uname-2.6
-                               -h, --help
-                               -V, --version"
+                       OPTS="--verbose
+                               --addr-no-randomize
+                               --fdpic-funcptrs
+                               --mmap-page-zero
+                               --addr-compat-layout
+                               --read-implies-exec
+                               --32bit
+                               --short-inode
+                               --whole-seconds
+                               --sticky-timeouts
+                               --3gb
+                               --4gb
+                               --uname-2.6
+                               --help
+                               --version"
                        COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
                        return 0
                        ;;
index 00f87af2b3057f068203cc0d84c2c1a38c5464c2..3be5ccd702a7ffb4658e3ffad628c92d32bd5276 100644 (file)
@@ -56,8 +56,8 @@ _setpriv_module()
        esac
        case $cur in
                -*)
-                       OPTS="-d --dump
-                               --nnp --no-new-privs
+                       OPTS="--dump
+                               --no-new-privs
                                --inh-caps
                                --bounding-set
                                --ruid
@@ -72,8 +72,8 @@ _setpriv_module()
                                --securebits
                                --selinux-label
                                --apparmor-profile
-                               -h --help
-                               -V --version"
+                               --help
+                               --version"
                        COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
                        return 0
                        ;;
index a14ae42e736c1f2e3418e1ff25a7dfeed4352d45..568159bda20d7d9d68cdf12eb2f86a6b94f5455b 100644 (file)
@@ -11,7 +11,7 @@ _setsid_module()
        esac
        case $cur in
                -*)
-                       OPTS="-c --ctty -h --help -V --version"
+                       OPTS="--ctty --help --version"
                        COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
                        return 0
                        ;;
index 102fd85ad25bde9afe2591db3a14683337b4e866..0226b0483ec8b2071d55e132c37322a1153fa5af 100644 (file)
@@ -27,35 +27,35 @@ _sfdisk_module()
                        cur=${cur#=}
                        ;;
                -*)
-                       OPTS="-s --show-size
-                               -c --id
+                       OPTS="--show-size
+                               --id
                                --change-id
                                --print-id
-                               -l --list
-                               -d --dump
-                               -i --increment
-                               -u --unit
-                               -1 --one-only
-                               -T --list-types
-                               -D --DOS
-                               -E --DOS-extended
-                               -R --re-read
+                               --list
+                               --dump
+                               --increment
+                               --unit
+                               --one-only
+                               --list-types
+                               --DOS
+                               --DOS-extended
+                               --re-read
                                -N
                                -n
                                -O
                                -I
-                               -V --verify
-                               -v --version
-                               -h --help
-                               -f --force
+                               --verify
+                               --version
+                               --help
+                               --force
                                --no-reread
-                               -q --quiet
-                               -L --Linux
-                               -g --show-geometry
-                               -G --show-pt-geometry
-                               -A= --activate=
-                               -U= --unhide=
-                               -x --show-extended
+                               --quiet
+                               --Linux
+                               --show-geometry
+                               --show-pt-geometry
+                               --activate=
+                               --unhide=
+                               --show-extended
                                --leave-last
                                --IBM
                                --in-order
@@ -65,9 +65,9 @@ _sfdisk_module()
                                --nested
                                --chained
                                --onesector
-                               -C --cylinders
-                               -H --heads
-                               -S --sectors"
+                               --cylinders
+                               --heads
+                               --sectors"
                        COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
                        return 0
                        ;;
index dbd3d2f68072de761ba809f7436aaf4e32b4a624..e739b56d91a0d3600e43169d2c2ffc41700f79c7 100644 (file)
@@ -23,18 +23,17 @@ _su_module()
        esac
        case $cur in
                -*)
-                       OPTS="  -
-                               -u --user
-                               -m -p --preserve-environment
-                               -g --group
-                               -G --supp-group
-                               -l --login
-                               -c --command
+                       OPTS="  --user
+                               --preserve-environment
+                               --group
+                               --supp-group
+                               --login
+                               --command
                                --session-command
-                               -f --fast
-                               -s --shell
-                               -h --help
-                               -V --version"
+                               --fast
+                               --shell
+                               --help
+                               --version"
                        COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
                        return 0
                        ;;
index 5909941919e69a4b4ea34937f4054b52d649bb5e..093169e0602d25b5d76824f85ff30c35158b6977 100644 (file)
@@ -19,7 +19,7 @@ _swaplabel_module()
        esac
        case $cur in
                -*)
-                       OPTS="-L --label -U --uuid -h --help -V --version"
+                       OPTS="--label --uuid --help --version"
                        COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
                        return 0
                        ;;
index 6e05b6e1ed881fcc847c09eb36b6545528869669..e1271539b8e107bb42a90ac22e12e668c5e30d5f 100644 (file)
@@ -25,19 +25,19 @@ _swapon_module()
        esac
        case $cur in
                -*)
-                       OPTS="-a --all
-                               -d --discard
-                               -e --ifexists
-                               -f --fixpgsz
-                               -p --priority
-                               -s --summary
-                                  --show
-                                  --noheadings
-                                  --raw
-                                  --bytes
-                               -v --verbose
-                               -h --help
-                               -V --version"
+                       OPTS="--all
+                               --discard
+                               --ifexists
+                               --fixpgsz
+                               --priority
+                               --summary
+                               --show
+                               --noheadings
+                               --raw
+                               --bytes
+                               --verbose
+                               --help
+                               --version"
                        COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
                        return 0
                        ;;
index 32214d94d914c4487dd5519c84c49b35baeb2357..e3dd295b1a22f54f7e9f3a617bc6bd17dfae162d 100644 (file)
@@ -15,7 +15,7 @@ _tailf_module()
        esac
        case $cur in
                -*)
-                       OPTS="-n --lines -number -V --version -h --help"
+                       OPTS="--lines --version --help"
                        COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
                        return 0
                        ;;
index c7d819b55f9c2c95798b28e8ba344bedfa473942..dd1ef1f695fe4ad07393f9aa6b8720f669dba1ed 100644 (file)
@@ -29,7 +29,7 @@ _taskset_module()
        esac
        case $cur in
                -*)
-                       OPTS="-a --all-tasks -p --pid -c --cpu-list -h --help -V --version"
+                       OPTS="--all-tasks --pid --cpu-list --help --version"
                        COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
                        return 0
                        ;;
index e45cbec937dbb7250c47a23c5c6e190b1f6fcc25..614b2354f471d28a150d713da9224d7794ae8f9a 100644 (file)
@@ -27,19 +27,19 @@ _tunelp_module()
        esac
        case $cur in
                -*)
-                       OPTS="-i --irq
-                               -t --time
-                               -c --chars
-                               -w --wait
-                               -a --abort
-                               -o --check-status
-                               -C --careful
-                               -s --status
-                               -T --trust-irq
-                               -r --reset
-                               -q --print-irq
-                               -h --help
-                               -V --version"
+                       OPTS="--irq
+                               --time
+                               --chars
+                               --wait
+                               --abort
+                               --check-status
+                               --careful
+                               --status
+                               --trust-irq
+                               --reset
+                               --print-irq
+                               --help
+                               --version"
                        COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
                        return 0
                        ;;
index be3529df59a0e4a695db1ab919eefeae42742360..c00e510f633fc048f5d042c883dfefff23b0a830 100644 (file)
@@ -20,7 +20,7 @@ _ul_module()
        esac
        case $cur in
                -*)
-                       OPTS="-t --terminal -i --indicated -V --version -h --help"
+                       OPTS="--terminal --indicated --version --help"
                        COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
                        return 0
                        ;;
index 5342961f6028c238414aa23303b2e3949bcea28d..86a4af4829b156cad434686ab59df9dc7e6c17d4 100644 (file)
@@ -11,14 +11,14 @@ _unshare_module()
        esac
        case $cur in
                -*)
-                       OPTS="-m --mount
-                               -u --uts
-                               -i --ipc
-                               -n --net
-                               -p --pid
-                               -U --user
-                               -h --help
-                               -V --version"
+                       OPTS="--mount
+                               --uts
+                               --ipc
+                               --net
+                               --pid
+                               --user
+                               --help
+                               --version"
                        COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
                        return 0
                        ;;
index bf186380b56cbb595f31c6b9a26d384ba870d26d..3b868cec04471756a7820ee6f8b58706a2e05d98 100644 (file)
@@ -11,7 +11,7 @@ _utmpdump_module()
        esac
        case $cur in
                -*)
-                       OPTS="-f --follow -r --reverse -V --version -h --help"
+                       OPTS="--follow --reverse --version --help"
                        COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
                        return 0
                        ;;
index c69a7c1b7bff6898c6685e737267e613edb23c6b..c45b0674c5d746860a6bc091ec8954ff52d806cb 100644 (file)
@@ -26,7 +26,7 @@ _uuidd_module()
        esac
        case $cur in
                -*)
-                       OPTS="-p --pid -s --socket -T --timeout -k --kill -r --random -t --time -n --uuids -P --no-pid -F --no-fork -S --socket-activation -d --debug -q --quiet -V --version -h --help"
+                       OPTS="--pid --socket --timeout --kill --random --time --uuids --no-pid --no-fork --socket-activation --debug --quiet --version --help"
                        COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
                        return 0
                        ;;
index 2cf30a20737ea709aeb9f0fb71ea5bf7a61f8c8d..42d95d42ff15a1050cf7fb6463f0e6d47644e54a 100644 (file)
@@ -11,7 +11,7 @@ _uuidgen_module()
        esac
        case $cur in
                -*)
-                       OPTS="-r --random -t --time -V --version -h --help"
+                       OPTS="--random --time --version --help"
                        COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
                        return 0
                        ;;
index 4086ffe5b7fd519828472e2e70588d822f7a1cae..55d96587e8606e4ceb178d65fae46020bf36370d 100644 (file)
@@ -15,7 +15,7 @@ _wall_module()
        esac
        case $cur in
                -*)
-                       OPTS="-n --nobanner -t --timeout -V --version -h --help"
+                       OPTS="--nobanner --timeout --version --help"
                        COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
                        return 0
                        ;;
index 01d19a05a6ddf33c70c97bcaadfa4a83c2782d2a..33b4e1ff611ef59e484235ac04bdb4e359499841 100644 (file)
@@ -40,18 +40,18 @@ _wdctl_module()
        esac
        case $cur in
                -*)
-                       OPTS="-f --flags
-                               -F --noflags
-                               -I --noident
-                               -n --noheadings
-                               -O --oneline
-                               -o --output
-                               -r --raw
-                               -T --notimeouts
-                               -s --settimeout
-                               -x --flags-only
-                               -h --help
-                               -V --version"
+                       OPTS="--flags
+                               --noflags
+                               --noident
+                               --noheadings
+                               --oneline
+                               --output
+                               --raw
+                               --notimeouts
+                               --settimeout
+                               --flags-only
+                               --help
+                               --version"
                        COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
                        return 0
                        ;;
index 20dd40d2111c13dbc756caed4fdf9034566301d9..e0e32867e4a9d8a14cde7f07b9db7ca29f03add9 100644 (file)
@@ -21,7 +21,7 @@ _wipefs_module()
        esac
        case $cur in
                -*)
-                       OPTS="-a --all -f --force -h --help -n --no-actn -o --offset -p --parsable -q --quiet -t --types -V --version"
+                       OPTS="--all --force --help --no-act --offset --parsable --quiet --types --version"
                        COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
                        return 0
                        ;;