]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
fadvise: fix a typo of an option name in the bash completion rule
authorMasatake YAMATO <yamato@redhat.com>
Tue, 30 Jul 2024 05:05:00 +0000 (14:05 +0900)
committerMasatake YAMATO <yamato@redhat.com>
Tue, 30 Jul 2024 05:05:00 +0000 (14:05 +0900)
Signed-off-by: Masatake YAMATO <yamato@redhat.com>
bash-completion/fadvise

index 985c9478d8700db25a27f50b87e8bf62ec5ce4ae..9d75ded6a3e2c79f98f1e7de36a052de6141f99f 100644 (file)
@@ -5,7 +5,7 @@ _fadvise_module()
     cur="${COMP_WORDS[COMP_CWORD]}"
     prev="${COMP_WORDS[COMP_CWORD-1]}"
     case $prev in
-       '-a'|'--advise')
+       '-a'|'--advice')
            ADVS='normal
                  sequential
                  random
@@ -25,7 +25,7 @@ _fadvise_module()
     esac
     case $cur in
        -*)
-           OPTS='--advise
+           OPTS='--advice
                  --length
                  --offset
                  --help