summaryrefslogtreecommitdiffstats
path: root/commands
diff options
context:
space:
mode:
authorRobert Karszniewicz <r.karszniewicz@phytec.de>2019-10-16 18:39:57 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2019-10-18 13:57:11 +0200
commit4c8af438c80e9959a3d6f33889af6686b24bfd2b (patch)
treead89ce4667fe2550083cea3230be244965fd8ea7 /commands
parent6823b290f3a598b235b4bfcfb639399daf03055b (diff)
downloadbarebox-4c8af438c80e9959a3d6f33889af6686b24bfd2b.tar.gz
cp: complete command help
Signed-off-by: Robert Karszniewicz <r.karszniewicz@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands')
-rw-r--r--commands/cp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/commands/cp.c b/commands/cp.c
index 54934dd..845dae6 100644
--- a/commands/cp.c
+++ b/commands/cp.c
@@ -100,13 +100,14 @@ BAREBOX_CMD_HELP_START(cp)
BAREBOX_CMD_HELP_TEXT("Copy file from SRC to DEST.")
BAREBOX_CMD_HELP_TEXT("")
BAREBOX_CMD_HELP_TEXT("Options:")
+BAREBOX_CMD_HELP_OPT ("-r", "recursive")
BAREBOX_CMD_HELP_OPT ("-v", "verbose")
BAREBOX_CMD_HELP_END
BAREBOX_CMD_START(cp)
.cmd = do_cp,
BAREBOX_CMD_DESC("copy files")
- BAREBOX_CMD_OPTS("[-v] SRC DEST")
+ BAREBOX_CMD_OPTS("[-rv] SRC DEST")
BAREBOX_CMD_GROUP(CMD_GRP_FILE)
BAREBOX_CMD_HELP(cmd_cp_help)
BAREBOX_CMD_END