diff options
author | Ron Yorston <rmy@pobox.com> | 2012-03-22 14:11:12 +0000 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2012-03-22 14:11:12 +0000 |
commit | 67758035a4fe040c6ac69b39d61bcd6bddd7b827 (patch) | |
tree | a4a1db7f54c16d12fabe2626b8f1e235cd694e9e /coreutils/cp.c | |
parent | 811c449748d5bd0505f8510e5582892f94ac0cda (diff) | |
parent | b83c9704128dd106071184e4b00335a3b8486857 (diff) | |
download | busybox-w32-67758035a4fe040c6ac69b39d61bcd6bddd7b827.tar.gz busybox-w32-67758035a4fe040c6ac69b39d61bcd6bddd7b827.tar.bz2 busybox-w32-67758035a4fe040c6ac69b39d61bcd6bddd7b827.zip |
Merge commit 'b83c9704128dd106071184e4b00335a3b8486857' into merge
Diffstat (limited to 'coreutils/cp.c')
-rw-r--r-- | coreutils/cp.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/coreutils/cp.c b/coreutils/cp.c index bbdb10e95..c35dc2872 100644 --- a/coreutils/cp.c +++ b/coreutils/cp.c | |||
@@ -15,6 +15,24 @@ | |||
15 | * Size reduction. | 15 | * Size reduction. |
16 | */ | 16 | */ |
17 | 17 | ||
18 | //usage:#define cp_trivial_usage | ||
19 | //usage: "[OPTIONS] SOURCE DEST" | ||
20 | //usage:#define cp_full_usage "\n\n" | ||
21 | //usage: "Copy SOURCE to DEST, or multiple SOURCE(s) to DIRECTORY\n" | ||
22 | //usage: "\nOptions:" | ||
23 | //usage: "\n -a Same as -dpR" | ||
24 | //usage: IF_SELINUX( | ||
25 | //usage: "\n -c Preserve security context" | ||
26 | //usage: ) | ||
27 | //usage: "\n -R,-r Recurse" | ||
28 | //usage: "\n -d,-P Preserve symlinks (default if -R)" | ||
29 | //usage: "\n -L Follow all symlinks" | ||
30 | //usage: "\n -H Follow symlinks on command line" | ||
31 | //usage: "\n -p Preserve file attributes if possible" | ||
32 | //usage: "\n -f Overwrite" | ||
33 | //usage: "\n -i Prompt before overwrite" | ||
34 | //usage: "\n -l,-s Create (sym)links" | ||
35 | |||
18 | #include "libbb.h" | 36 | #include "libbb.h" |
19 | #include "libcoreutils/coreutils.h" | 37 | #include "libcoreutils/coreutils.h" |
20 | 38 | ||