]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
bash-completion: fix irqtop
authorKarel Zak <kzak@redhat.com>
Wed, 10 Nov 2021 09:56:02 +0000 (10:56 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 10 Nov 2021 09:56:02 +0000 (10:56 +0100)
Forgot update the option as introduced by commit
17f7caa45105f0cbf8bf9b562468fba2c5d4a549.

Signed-off-by: Karel Zak <kzak@redhat.com>
bash-completion/irqtop

index 6dae28924e3b7aa586f96a0182d3f045ecb379b8..a3812acbb63deb5bb8f5914abe8683f479677f07 100644 (file)
@@ -5,7 +5,7 @@ _irqtop_module()
        cur="${COMP_WORDS[COMP_CWORD]}"
        prev="${COMP_WORDS[COMP_CWORD-1]}"
        case $prev in
-               '-c'|'--cpus')
+               '-c'|'--cpu-stat')
                        COMPREPLY=( $(compgen -W "auto enable disable" -- $cur) )
                        return 0
                        ;;
@@ -34,7 +34,7 @@ _irqtop_module()
                        return 0
                        ;;
        esac
-       OPTS="  --cpus
+       OPTS="  --cpu-stat
                --delay
                --sort
                --output