summaryrefslogtreecommitdiffstats
path: root/commands/state.c
diff options
context:
space:
mode:
authorJuergen Borleis <jbe@pengutronix.de>2017-08-16 14:27:08 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2017-09-06 14:02:47 +0200
commit06ef385b23cd0d843ce39cce5afe5344c53fca71 (patch)
tree4d6fafbe680b4aea986236aa67aa57ec0d19a90d /commands/state.c
parent8db7a230bd144912ccc361cfb859ed28beb0817e (diff)
downloadbarebox-06ef385b23cd0d843ce39cce5afe5344c53fca71.tar.gz
state command: extend help part I
The loading parameter and its help text was removed in commit 446f3d07dd59f1b15b83a31fa88fba919ce4f47d and the loading parameter was re-added in commit 3a5ddf3d0db006e9256c8e256e7dc7b4a3f89a14 but the help was forgotten. Re-add the help as well. 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.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/commands/state.c b/commands/state.c
index c57a906..038da40 100644
--- a/commands/state.c
+++ b/commands/state.c
@@ -72,12 +72,13 @@ BAREBOX_CMD_HELP_TEXT("Usage: state [OPTIONS] [STATENAME]")
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_END
BAREBOX_CMD_START(state)
.cmd = do_state,
- BAREBOX_CMD_DESC("save state information")
- BAREBOX_CMD_OPTS("[-s] [STATENAME]")
+ BAREBOX_CMD_DESC("load or save state information")
+ BAREBOX_CMD_OPTS("[-sl] [STATENAME]")
BAREBOX_CMD_GROUP(CMD_GRP_MISC)
BAREBOX_CMD_HELP(cmd_state_help)
BAREBOX_CMD_END