summaryrefslogtreecommitdiffstats
path: root/commands/saveenv.c
diff options
context:
space:
mode:
authorJuergen Borleis <jbe@pengutronix.de>2014-07-31 12:39:00 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2014-08-01 08:07:19 +0200
commit1b937547b9b1cbc20cfa87f762bf22bc08d4610e (patch)
treedda087c1433761d5858561b2425db1061041fb40 /commands/saveenv.c
parent2fd4f0fbe93ec7e6e10b3475257521dd8418f8e7 (diff)
downloadbarebox-1b937547b9b1cbc20cfa87f762bf22bc08d4610e.tar.gz
saveenv: make clear how to use the command's parameters
Both parameters can be omitted and DIRECTORY can be omitted, but the DIRECTORY parameter requires the ENVFS parameter as well. Signed-off-by: Juergen Borleis <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands/saveenv.c')
-rw-r--r--commands/saveenv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/saveenv.c b/commands/saveenv.c
index 54b6fa1..29a29c1 100644
--- a/commands/saveenv.c
+++ b/commands/saveenv.c
@@ -55,7 +55,7 @@ BAREBOX_CMD_HELP_END
BAREBOX_CMD_START(saveenv)
.cmd = do_saveenv,
BAREBOX_CMD_DESC("save environment to persistent storage")
- BAREBOX_CMD_OPTS("[ENVFS] [DIRECTORY]")
+ BAREBOX_CMD_OPTS("[ENVFS [DIRECTORY]]")
BAREBOX_CMD_GROUP(CMD_GRP_ENV)
BAREBOX_CMD_HELP(cmd_saveenv_help)
BAREBOX_CMD_END