summaryrefslogtreecommitdiffstats
path: root/commands/state.c
diff options
context:
space:
mode:
authorJuergen Borleis <jbe@pengutronix.de>2017-08-16 14:27:09 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2017-09-06 14:02:52 +0200
commit88ca962d6fc40d3654284df1f77c103b003e678f (patch)
tree0b359d164a3c6cc9933d97447864a1abd17208c8 /commands/state.c
parent06ef385b23cd0d843ce39cce5afe5344c53fca71 (diff)
downloadbarebox-88ca962d6fc40d3654284df1f77c103b003e678f.tar.gz
state command: extend help part II
Since commit 0c7436753c73e71ee512e5ed8029e7ccceedcd89 the 'state' command supports authentification and a related parameter. Honor this in the help text. Signed-off-by: Juergen Borleis <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands/state.c')
-rw-r--r--commands/state.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/commands/state.c b/commands/state.c
index 038da40..0dbca9f 100644
--- a/commands/state.c
+++ b/commands/state.c
@@ -73,12 +73,13 @@ BAREBOX_CMD_HELP_TEXT("")
BAREBOX_CMD_HELP_TEXT("options:")
BAREBOX_CMD_HELP_OPT ("-s", "save state")
BAREBOX_CMD_HELP_OPT ("-l", "load state")
+BAREBOX_CMD_HELP_OPT ("-n", "no authentication")
BAREBOX_CMD_HELP_END
BAREBOX_CMD_START(state)
.cmd = do_state,
BAREBOX_CMD_DESC("load or save state information")
- BAREBOX_CMD_OPTS("[-sl] [STATENAME]")
+ BAREBOX_CMD_OPTS("[-sln] [STATENAME]")
BAREBOX_CMD_GROUP(CMD_GRP_MISC)
BAREBOX_CMD_HELP(cmd_state_help)
BAREBOX_CMD_END