Blame SOURCES/autofs-5.1.4-fix-program-usage-message.patch

d5dcad
autofs-5.1.4 - fix program usage message
d5dcad
d5dcad
From: Ian Kent <raven@themaw.net>
d5dcad
d5dcad
There is a discrepancy between the list of options in the usage
d5dcad
message of automount(8) and the options listed in the man page.
d5dcad
d5dcad
Signed-off-by: Ian Kent <raven@themaw.net>
d5dcad
---
d5dcad
 CHANGELOG          |    1 +
d5dcad
 daemon/automount.c |    6 +++++-
d5dcad
 2 files changed, 6 insertions(+), 1 deletion(-)
d5dcad
d5dcad
--- autofs-5.1.4.orig/CHANGELOG
d5dcad
+++ autofs-5.1.4/CHANGELOG
d5dcad
@@ -27,6 +27,7 @@ xx/xx/2018 autofs-5.1.5
d5dcad
 - fix fd leak in rpc_do_create_client().
d5dcad
 - add-man page note about extra slashes in paths.
d5dcad
 - covarity fixes.
d5dcad
+- fix program usage message.
d5dcad
 
d5dcad
 19/12/2017 autofs-5.1.4
d5dcad
 - fix spec file url.
d5dcad
--- autofs-5.1.4.orig/daemon/automount.c
d5dcad
+++ autofs-5.1.4/daemon/automount.c
d5dcad
@@ -1893,9 +1893,13 @@ static void usage(void)
d5dcad
 		"	-h --help	this text\n"
d5dcad
 		"	-p --pid-file f write process id to file f\n"
d5dcad
 		"	-t --timeout n	auto-unmount in n seconds (0-disable)\n"
d5dcad
+		"	-M --master-wait n\n"
d5dcad
+	        "			maximum wait time (seconds) for master\n"
d5dcad
+	        "			map to become available\n"
d5dcad
 		"	-v --verbose	be verbose\n"
d5dcad
 		"	-d --debug	log debuging info\n"
d5dcad
-		"	-D --define	define global macro variable\n"
d5dcad
+		"	-Dvariable=value, --define variable=value\n"
d5dcad
+		"			define global macro variable\n"
d5dcad
 		"	-f --foreground do not fork into background\n"
d5dcad
 		"	-r --random-multimount-selection\n"
d5dcad
 		"			use ramdom replicated server selection\n"