From 6d56251220954f4937c9fafbcdb427d4aa50d330 Mon Sep 17 00:00:00 2001 From: Sami Kerola Date: Fri, 2 Aug 2019 19:39:05 +0100 Subject: mountpoint: add --nofollow option The no follow option will allow user to distinct mount points from symbolic links pointing to them. Arguably this is pretty pedantic option, mounting a device or bind mount to a directory via symlink does not have or cause any issues. Addresses: https://github.com/karelzak/util-linux/issues/832 Signed-off-by: Sami Kerola --- bash-completion/mountpoint | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bash-completion/mountpoint') diff --git a/bash-completion/mountpoint b/bash-completion/mountpoint index f14327ce2..15c6d2314 100644 --- a/bash-completion/mountpoint +++ b/bash-completion/mountpoint @@ -11,7 +11,7 @@ _mountpoint_module() esac case $cur in -*) - OPTS="--quiet --fs-devno --devno --help --version" + OPTS="--quiet --nofollow --fs-devno --devno --help --version" COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) return 0 ;; -- cgit v1.2.3-55-g7522