Minor fixes to command line help
authorMatti Laakso <malaakso@elisanet.fi>
Tue, 27 May 2014 19:12:11 +0000 (21:12 +0200)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 27 May 2014 20:26:05 +0000 (22:26 +0200)
Signed-off-by: Matti Laakso <malaakso@elisanet.fi>
commands-wds.h
main.c

index bd4b221..ea64e82 100644 (file)
@@ -13,6 +13,6 @@
                "    --auth-type pap|chap|both|none: Use network authentication type\n" \
                "    --username <name>:              Use network username\n" \
                "    --password <password>:          Use network password\n" \
                "    --auth-type pap|chap|both|none: Use network authentication type\n" \
                "    --username <name>:              Use network username\n" \
                "    --password <password>:          Use network password\n" \
-               "    --autconnect:                   Enable automatic connect/reconnect\n" \
+               "    --autoconnect:                  Enable automatic connect/reconnect\n" \
                "  --get-data-status:                Get current data access status\n" \
 
                "  --get-data-status:                Get current data access status\n" \
 
diff --git a/main.c b/main.c
index 4b030e9..6ba746e 100644 (file)
--- a/main.c
+++ b/main.c
@@ -33,7 +33,6 @@ static int usage(const char *progname)
                "  --single, -s:                     Print output as a single line (for scripts)\n"
                "  --device=NAME, -d NAME:           Set device name to NAME (required)\n"
                "  --keep-client-id <name>:          Keep Client ID for service <name>\n"
                "  --single, -s:                     Print output as a single line (for scripts)\n"
                "  --device=NAME, -d NAME:           Set device name to NAME (required)\n"
                "  --keep-client-id <name>:          Keep Client ID for service <name>\n"
-               "                                    (implies --keep-client-id)\n"
                "  --release-client-id <name>:       Release Client ID after exiting\n"
                "\n"
                "Services:                           dms, nas, pds, wds, wms\n"
                "  --release-client-id <name>:       Release Client ID after exiting\n"
                "\n"
                "Services:                           dms, nas, pds, wds, wms\n"
@@ -41,6 +40,7 @@ static int usage(const char *progname)
                "Actions:\n"
                "  --get-versions:                   Get service versions\n"
                "  --set-client-id <name>,<id>:      Set Client ID for service <name> to <id>\n"
                "Actions:\n"
                "  --get-versions:                   Get service versions\n"
                "  --set-client-id <name>,<id>:      Set Client ID for service <name> to <id>\n"
+               "                                    (implies --keep-client-id)\n"
                "  --get-client-id <name>:           Connect and get Client ID for service <name>\n"
                "                                    (implies --keep-client-id)\n"
                wds_helptext
                "  --get-client-id <name>:           Connect and get Client ID for service <name>\n"
                "                                    (implies --keep-client-id)\n"
                wds_helptext