summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2018-02-07 11:30:08 +0100
committerJosé Bollo <jose.bollo@iot.bzh>2018-02-09 17:26:05 +0100
commit350f165da982685f2ea7c6d0899e9711b2c35982 (patch)
treeb5ccd70aecc5e2d387f67352f92fa4dc54d12e6d
parent1af62bfcacd384f9bfa3dd61ede41fd1cf7768e8 (diff)
afb-config: Improve doc of option --token
Change-Id: I196c7f2b216e031f52b208e19c6c2df8593d27c5 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
-rw-r--r--src/afb-config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/afb-config.c b/src/afb-config.c
index f4aed055..7e2cb405 100644
--- a/src/afb-config.c
+++ b/src/afb-config.c
@@ -148,7 +148,7 @@ static AFB_options cliOptions[] = {
{SET_WEAK_LDPATH, 1, "weak-ldpaths","Same as --ldpaths but ignore errors"},
{NO_LDPATH, 0, "no-ldpaths", "Discard default ldpaths loading"},
- {SET_AUTH_TOKEN, 1, "token", "Initial Secret [default=no-session, --token= for session without authentication]"},
+ {SET_AUTH_TOKEN, 1, "token", "Initial Secret [default=random, use --token="" to allow any token]"},
{SET_RNDTOKEN, 0, "random-token","Enforce a random token"},
{DISPLAY_VERSION, 0, "version", "Display version and copyright"},