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

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