summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManuel Bachmann <manuel.bachmann@iot.bzh>2015-12-10 10:58:46 +0100
committerManuel Bachmann <manuel.bachmann@iot.bzh>2015-12-10 10:58:46 +0100
commit593455bdea831e93c18d9ac8824b013a0379b25f (patch)
tree44b9c758b4f93a3c6e7acb852cff572e84bd2274
parent3dbf7f5d2a2815429ec8db27f1fc0967cd6f2492 (diff)
main: fix command-line help typos
Some "]" were missing in the command-line help text. Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
-rw-r--r--src/main.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/main.c b/src/main.c
index 040fc95b..323b060f 100644
--- a/src/main.c
+++ b/src/main.c
@@ -88,9 +88,9 @@ static AFB_options cliOptions [] = {
{KILL_PREV_REST ,0,"restart" , "Kill active process if any and restart"},
{SET_TCP_PORT ,1,"port" , "HTTP listening TCP port [default 1234]"},
- {SET_ROOT_DIR ,1,"rootdir" , "HTTP Root Directory [default $HOME/.AFB"},
- {SET_ROOT_BASE ,1,"rootbase" , "Angular Base Root URL [default /opa"},
- {SET_ROOT_API ,1,"rootapi" , "HTML Root API URL [default /api"},
+ {SET_ROOT_DIR ,1,"rootdir" , "HTTP Root Directory [default $HOME/.AFB]"},
+ {SET_ROOT_BASE ,1,"rootbase" , "Angular Base Root URL [default /opa]"},
+ {SET_ROOT_API ,1,"rootapi" , "HTML Root API URL [default /api]"},
{SET_ROOT_ALIAS ,1,"alias" , "Muliple url map outside of rootdir [eg: --alias=/icons:/usr/share/icons]"},
{SET_APITIMEOUT ,1,"apitimeout" , "Plugin API timeout in seconds [default 10]"},
@@ -102,8 +102,8 @@ static AFB_options cliOptions [] = {
{SET_CONFIG_SAVE ,0,"save" , "Save config on disk [default no]"},
{SET_CONFIG_EXIT ,0,"saveonly" , "Save config on disk and then exit"},
- {SET_SMACK ,1,"smack" , "Set Smack Label [default=demo"},
- {SET_PLUGINS ,1,"mods" , "Enable module [default=all"},
+ {SET_SMACK ,1,"smack" , "Set Smack Label [default demo]"},
+ {SET_PLUGINS ,1,"mods" , "Enable module [default all]"},
{DISPLAY_VERSION ,0,"version" , "Display version and copyright"},
{DISPLAY_HELP ,0,"help" , "Display this help"},