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

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