2016-05-18 08:43:00

by Yongcheng Yang

[permalink] [raw]
Subject: [PATCH] mountd: update usage string to add "-P port" argument

From: Yongcheng Yang <[email protected]>

Also make some change to keep the grammar consistent.

Signed-off-by: Yongcheng Yang <[email protected]>
---
utils/mountd/mountd.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/utils/mountd/mountd.c b/utils/mountd/mountd.c
index b584afc..0a3a404 100644
--- a/utils/mountd/mountd.c
+++ b/utils/mountd/mountd.c
@@ -909,10 +909,10 @@ usage(const char *prog, int n)
fprintf(stderr,
"Usage: %s [-F|--foreground] [-h|--help] [-v|--version] [-d kind|--debug kind]\n"
" [-o num|--descriptors num] [-f exports-file|--exports-file=file]\n"
-" [-p|--port port] [-V version|--nfs-version version]\n"
+" [-p port|-P port|--port port] [-V version|--nfs-version version]\n"
" [-N version|--no-nfs-version version] [-n|--no-tcp]\n"
-" [-H ha-callout prog] [-r | --reverse-lookup]\n"
-" [-s|--state-directory-path path] [-g|--manage-gids]\n"
+" [-H prog|--ha-callout prog] [-r|--reverse-lookup]\n"
+" [-s path|--state-directory-path path] [-g|--manage-gids]\n"
" [-t num|--num-threads=num] [-u|--no-udp]\n", prog);
exit(n);
}
--
2.4.3