summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuergen Beisert <j.beisert@pengutronix.de>2007-11-09 23:21:06 +0100
committerJuergen Beisert <j.beisert@pengutronix.de>2007-11-12 16:28:23 +0100
commit8121f788c0bda5243af269ec70e4d65f794736d3 (patch)
treee129d3a96aa1fbad157b595dd9f2da3e017e1109
parent8413d78ab3e3062641dbe3069fcd454858244679 (diff)
downloadbarebox-8121f788c0bda5243af269ec70e4d65f794736d3.tar.gz
barebox-8121f788c0bda5243af269ec70e4d65f794736d3.tar.xz
adding copy docu
Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
-rw-r--r--commands/cp.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/commands/cp.c b/commands/cp.c
index a89bb97d76..a9c10d4053 100644
--- a/commands/cp.c
+++ b/commands/cp.c
@@ -22,7 +22,7 @@
/**
* @file
- * @brief "cp" command implementation
+ * @brief cp: copy file command
*/
#include <common.h>
#include <command.h>
@@ -149,9 +149,13 @@ U_BOOT_CMD_START(cp)
U_BOOT_CMD_END
/**
- * @page cp_command cp (copy)
+ * @page cp_command cp: Copy file
*
* Usage: cp \<source> [\<source>] \<destination>
*
- * FIXME
+ * \c cp copies file \<source> to \<destination>
+ *
+ * Currently only this form is supported and you have to specify the exact
+ * target filename (not a target directory).\n
+ * This command is file based only. See memcpy for generic memory copy
*/