[PATCH] loadenv: fix typo in help text

Wjatscheslaw Stoljarski wjatscheslaw.stoljarski at kiwigrid.com
Tue Jan 27 10:00:06 PST 2015


From: "Wjatscheslaw Stoljarski" <wjatscheslaw.stoljarski at kiwigrid.com>

Signed-off-by: Wjatscheslaw Stoljarski <wjatscheslaw.stoljarski at kiwigrid.com>
---
 commands/loadenv.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/commands/loadenv.c b/commands/loadenv.c
index 91ce5e7..8d6be2f 100644
--- a/commands/loadenv.c
+++ b/commands/loadenv.c
@@ -109,7 +109,7 @@ static int do_loadenv(int argc, char *argv[])
 
 BAREBOX_CMD_HELP_START(loadenv)
 BAREBOX_CMD_HELP_TEXT("Load environment from files in ENVFS (default /dev/env0) in")
-BAREBOX_CMD_HELP_TEXT("DIRECTORY (default /env")
+BAREBOX_CMD_HELP_TEXT("DIRECTORY (default /env)")
 BAREBOX_CMD_HELP_TEXT("")
 BAREBOX_CMD_HELP_TEXT("Options:")
 BAREBOX_CMD_HELP_OPT("-n", "do not overwrite existing files")
@@ -120,7 +120,7 @@ BAREBOX_CMD_HELP_END
 BAREBOX_CMD_START(loadenv)
 	.cmd		= do_loadenv,
 	BAREBOX_CMD_DESC("load environment from ENVFS")
-	BAREBOX_CMD_OPTS("{-nsd] [ENVFS] [DIRECTORY]")
+	BAREBOX_CMD_OPTS("[-nsd] [ENVFS] [DIRECTORY]")
 	BAREBOX_CMD_GROUP(CMD_GRP_ENV)
 	BAREBOX_CMD_HELP(cmd_loadenv_help)
 BAREBOX_CMD_END
-- 
1.9.1




More information about the barebox mailing list