aboutsummaryrefslogtreecommitdiff
path: root/coreutils/cp.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/cp.c')
-rw-r--r--coreutils/cp.c18
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