diff options
author | Pere Orga <gotrunks@gmail.com> | 2011-03-31 14:43:25 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-03-31 14:43:25 +0200 |
commit | 34425389e09353a8dacdd6b23a62553f699c544c (patch) | |
tree | 4eb2e19685536384748e75af827deca885c9cc0a /coreutils/cp.c | |
parent | e3d8d077b7d2e51fed03dc20267eadbe38903b2a (diff) | |
download | busybox-w32-34425389e09353a8dacdd6b23a62553f699c544c.tar.gz busybox-w32-34425389e09353a8dacdd6b23a62553f699c544c.tar.bz2 busybox-w32-34425389e09353a8dacdd6b23a62553f699c544c.zip |
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 ab17b39a6..337054d7b 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 | ||