diff options
author | Pere Orga | 2011-03-31 14:43:25 +0200 |
---|---|---|
committer | Denys Vlasenko | 2011-03-31 14:43:25 +0200 |
commit | 34425389e09353a8dacdd6b23a62553f699c544c (patch) | |
tree | 4eb2e19685536384748e75af827deca885c9cc0a /coreutils/cp.c | |
parent | e3d8d077b7d2e51fed03dc20267eadbe38903b2a (diff) | |
download | busybox-34425389e09353a8dacdd6b23a62553f699c544c.zip busybox-34425389e09353a8dacdd6b23a62553f699c544c.tar.gz |
move help text from include/usage.src.h to coreutils/*.c
Signed-off-by: Pere Orga <gotrunks@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
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 ab17b39..337054d 100644 --- a/coreutils/cp.c +++ b/coreutils/cp.c @@ -15,6 +15,24 @@ * Size reduction. */ +//usage:#define cp_trivial_usage +//usage: "[OPTIONS] SOURCE DEST" +//usage:#define cp_full_usage "\n\n" +//usage: "Copy SOURCE to DEST, or multiple SOURCE(s) to DIRECTORY\n" +//usage: "\nOptions:" +//usage: "\n -a Same as -dpR" +//usage: IF_SELINUX( +//usage: "\n -c Preserve security context" +//usage: ) +//usage: "\n -R,-r Recurse" +//usage: "\n -d,-P Preserve symlinks (default if -R)" +//usage: "\n -L Follow all symlinks" +//usage: "\n -H Follow symlinks on command line" +//usage: "\n -p Preserve file attributes if possible" +//usage: "\n -f Overwrite" +//usage: "\n -i Prompt before overwrite" +//usage: "\n -l,-s Create (sym)links" + #include "libbb.h" #include "libcoreutils/coreutils.h" |