summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatti Laakso <malaakso@elisanet.fi>2014-05-27 21:12:11 +0200
committerFelix Fietkau <nbd@openwrt.org>2014-05-27 22:26:05 +0200
commit1077e609940803e44c52afd7f22fc5f08cb2f20f (patch)
tree20319a93a4af368fd05e17de50a9b272e20f4f01
parent35201737484008ac802649cbe9fb5f7ab38a4ad2 (diff)
Minor fixes to command line help
Signed-off-by: Matti Laakso <malaakso@elisanet.fi>
-rw-r--r--commands-wds.h2
-rw-r--r--main.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/commands-wds.h b/commands-wds.h
index bd4b221..ea64e82 100644
--- a/commands-wds.h
+++ b/commands-wds.h
@@ -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 4b030e9..6ba746e 100644
--- 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