summaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux')
-rw-r--r--util-linux/mount.c1
-rw-r--r--util-linux/umount.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/util-linux/mount.c b/util-linux/mount.c
index 30a060f..329c077 100644
--- a/util-linux/mount.c
+++ b/util-linux/mount.c
@@ -418,6 +418,7 @@ extern int mount_main(int argc, char **argv)
break;
#endif
case 'v':
+ break; /* ignore -v */
case 'h':
case '-':
goto goodbye;
diff --git a/util-linux/umount.c b/util-linux/umount.c
index 23973fc..3f84aa2 100644
--- a/util-linux/umount.c
+++ b/util-linux/umount.c
@@ -260,6 +260,8 @@ extern int umount_main(int argc, char **argv)
doRemount = TRUE;
break;
#endif
+ case 'v':
+ break; /* ignore -v */
default:
usage(umount_usage);
}