From faf3af7f60814f26a445e349ac22a92706d93cd2 Mon Sep 17 00:00:00 2001 From: Andrew Karpow Date: Tue, 12 Nov 2013 02:51:20 +0100 Subject: [PATCH] fix -w webport --- src/ympd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ympd.c b/src/ympd.c index 4ed9369..da9b198 100644 --- a/src/ympd.c +++ b/src/ympd.c @@ -72,7 +72,7 @@ int main(int argc, char **argv) {0, 0, 0, 0 } }; - while((n = getopt_long(argc, argv, "h:p:i:r:c:k:g:uv::W", + while((n = getopt_long(argc, argv, "h:p:i:w:r:c:k:g:u:v::", long_options, &option_index)) != -1) { switch (n) { case 'h': @@ -117,8 +117,8 @@ int main(int argc, char **argv) "\t-r, --resourcepath \tresourcepath for webserver [" LOCAL_RESOURCE_PATH "]\n" "\t-c, --ssl_cert \tssl certificate ssl_private_key_filepath\n" "\t-k, --ssl_key \tssl private key filepath\n" - "\t-u, --uid \t\t\tuser id after socket bind\n" - "\t-g, --gid \t\t\tgroup id after socket bind\n" + "\t-u, --uid \t\t\tuser-id after socket bind\n" + "\t-g, --gid \t\t\tgroup-id after socket bind\n" "\t-v, --verbose[]\t\tverbosity level\n" "\t--help\t\t\t\tthis help\n" , argv[0]); -- 2.20.1