[PATCH 3/3] state command: extend help part II
Juergen Borleis
jbe at pengutronix.de
Wed Aug 16 05:27:09 PDT 2017
Since commit 0c7436753c73e71ee512e5ed8029e7ccceedcd89 the 'state' command
supports authentification and a related parameter. Honor this in the help
text.
Signed-off-by: Juergen Borleis <jbe at pengutronix.de>
---
commands/state.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/commands/state.c b/commands/state.c
index 038da402f..0dbca9f3b 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
--
2.11.0
More information about the barebox
mailing list