]> git.ipfire.org Git - thirdparty/util-linux.git/blobdiff - bash-completion/whereis
Merge branch 'enosys/dump' of https://github.com/t-8ch/util-linux
[thirdparty/util-linux.git] / bash-completion / whereis
index 0dcbac35bc56b47fe8ba73105049ae82645fe157..7db67a398c719b1a71d6796cd3941a60ad7a7672 100644 (file)
@@ -17,12 +17,12 @@ _whereis_module()
        esac
        case $cur in
                -*)
-                       OPTS="-b -B -m -M -s -S -f -u -l"
+                       OPTS="-b -B -m -M -s -S -f -u -l -g"
                        COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
                        return 0
                        ;;
        esac
-       COMPREPLY=( $(compgen -W "file" -- $cur) )
+       COMPREPLY=( $(compgen -c -- $cur) )
        return 0
 }
 complete -F _whereis_module whereis