summaryrefslogtreecommitdiffstats
path: root/commands/export.c
diff options
context:
space:
mode:
Diffstat (limited to 'commands/export.c')
-rw-r--r--commands/export.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/commands/export.c b/commands/export.c
index e27cf18a73..2e8bb49676 100644
--- a/commands/export.c
+++ b/commands/export.c
@@ -49,13 +49,13 @@ static int do_export(int argc, char *argv[])
}
BAREBOX_CMD_HELP_START(export)
-BAREBOX_CMD_HELP_USAGE("export <var>[=value]\n")
-BAREBOX_CMD_HELP_SHORT("export an environment variable to subsequently executed scripts\n")
+BAREBOX_CMD_HELP_TEXT("Export an environment variable to subsequently executed scripts.")
BAREBOX_CMD_HELP_END
BAREBOX_CMD_START(export)
.cmd = do_export,
- .usage = "export environment variables",
+ BAREBOX_CMD_DESC("export environment variables")
+ BAREBOX_CMD_OPTS("VAR[=VALUE]")
BAREBOX_CMD_GROUP(CMD_GRP_ENV)
BAREBOX_CMD_HELP(cmd_export_help)
BAREBOX_CMD_END