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 bd4b221bba7071c6eb011ae556c9f8f2138d4208..ea64e8206a1f1b7c85b144bd08b2cfb4811e4dff 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" \
-               "    --autconnect:                   Enable automatic connect/reconnect\n" \
+               "    --autoconnect:                  Enable automatic connect/reconnect\n" \
                "  --get-data-status:                Get current data access status\n" \
 
diff --git a/main.c b/main.c
index 4b030e929bb341255fabeaa8c2161270a0b8ccb4..6ba746e029d017cd665196cca2f0a5cb4671eba7 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"
-               "                                    (implies --keep-client-id)\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"
+               "                                    (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