aboutsummaryrefslogtreecommitdiff
path: root/coreutils/cp.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/cp.c')
-rw-r--r--coreutils/cp.c22
1 files changed, 19 insertions, 3 deletions
diff --git a/coreutils/cp.c b/coreutils/cp.c
index 2630c0d59..4ecdaafda 100644
--- a/coreutils/cp.c
+++ b/coreutils/cp.c
@@ -7,13 +7,29 @@
7 * 7 *
8 * Licensed under GPLv2 or later, see file LICENSE in this source tree. 8 * Licensed under GPLv2 or later, see file LICENSE in this source tree.
9 */ 9 */
10
11/* http://www.opengroup.org/onlinepubs/007904975/utilities/cp.html */
12
13/* Mar 16, 2003 Manuel Novoa III (mjn3@codepoet.org) 10/* Mar 16, 2003 Manuel Novoa III (mjn3@codepoet.org)
14 * 11 *
15 * Size reduction. 12 * Size reduction.
16 */ 13 */
14//config:config CP
15//config: bool "cp"
16//config: default y
17//config: help
18//config: cp is used to copy files and directories.
19//config:
20//config:config FEATURE_CP_LONG_OPTIONS
21//config: bool "Enable long options for cp"
22//config: default y
23//config: depends on CP && LONG_OPTS
24//config: help
25//config: Enable long options for cp.
26//config: Also add support for --parents option.
27
28//applet:IF_CP(APPLET_NOEXEC(cp, cp, BB_DIR_BIN, BB_SUID_DROP, cp))
29
30//kbuild:lib-$(CONFIG_CP) += cp.o
31
32/* http://www.opengroup.org/onlinepubs/007904975/utilities/cp.html */
17 33
18//usage:#define cp_trivial_usage 34//usage:#define cp_trivial_usage
19//usage: "[OPTIONS] SOURCE... DEST" 35//usage: "[OPTIONS] SOURCE... DEST"