aboutsummaryrefslogtreecommitdiff
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 30a060fc1..329c07780 100644
--- a/util-linux/mount.c
+++ b/util-linux/mount.c
@@ -418,6 +418,7 @@ extern int mount_main(int argc, char **argv)
418 break; 418 break;
419#endif 419#endif
420 case 'v': 420 case 'v':
421 break; /* ignore -v */
421 case 'h': 422 case 'h':
422 case '-': 423 case '-':
423 goto goodbye; 424 goto goodbye;
diff --git a/util-linux/umount.c b/util-linux/umount.c
index 23973fc85..3f84aa296 100644
--- a/util-linux/umount.c
+++ b/util-linux/umount.c
@@ -260,6 +260,8 @@ extern int umount_main(int argc, char **argv)
260 doRemount = TRUE; 260 doRemount = TRUE;
261 break; 261 break;
262#endif 262#endif
263 case 'v':
264 break; /* ignore -v */
263 default: 265 default:
264 usage(umount_usage); 266 usage(umount_usage);
265 } 267 }