Blame SOURCES/nfs-utils-1.3.0-mount-usage.patch

e19a30
diff -up nfs-utils-1.3.0/utils/mount/mount_libmount.c.orig nfs-utils-1.3.0/utils/mount/mount_libmount.c
e19a30
--- nfs-utils-1.3.0/utils/mount/mount_libmount.c.orig	2016-06-08 09:48:19.446035537 -0400
e19a30
+++ nfs-utils-1.3.0/utils/mount/mount_libmount.c	2016-06-08 09:57:58.389518986 -0400
e19a30
@@ -207,6 +207,7 @@ static int umount_main(struct libmnt_con
e19a30
 
e19a30
 	if (!spec || (*spec != '/' && strchr(spec,':') == NULL)) {
e19a30
 		nfs_error(_("%s: no mount point provided"), progname);
e19a30
+		umount_usage();
e19a30
 		return EX_USAGE;
e19a30
 	}
e19a30
 
e19a30
@@ -328,6 +329,7 @@ static int mount_main(struct libmnt_cont
e19a30
 
e19a30
 	if (!mount_point) {
e19a30
 		nfs_error(_("%s: no mount point provided"), progname);
e19a30
+		mount_usage();
e19a30
 		goto err;
e19a30
 	}
e19a30
 	if (!spec) {