afb-config: Improve doc of option --token
authorJosé Bollo <jose.bollo@iot.bzh>
Wed, 7 Feb 2018 10:30:08 +0000 (11:30 +0100)
committerJosé Bollo <jose.bollo@iot.bzh>
Fri, 9 Feb 2018 16:26:05 +0000 (17:26 +0100)
Change-Id: I196c7f2b216e031f52b208e19c6c2df8593d27c5
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
src/afb-config.c

index f4aed05..7e2cb40 100644 (file)
@@ -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"},