aboutsummaryrefslogtreecommitdiff
path: root/coreutils/install.c
diff options
context:
space:
mode:
authorPere Orga <gotrunks@gmail.com>2011-03-31 14:43:25 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2011-03-31 14:43:25 +0200
commit34425389e09353a8dacdd6b23a62553f699c544c (patch)
tree4eb2e19685536384748e75af827deca885c9cc0a /coreutils/install.c
parente3d8d077b7d2e51fed03dc20267eadbe38903b2a (diff)
downloadbusybox-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/install.c')
-rw-r--r--coreutils/install.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/coreutils/install.c b/coreutils/install.c
index 9dc90d641..fe5f26e79 100644
--- a/coreutils/install.c
+++ b/coreutils/install.c
@@ -6,6 +6,24 @@
6 * Licensed under GPLv2 or later, see file LICENSE in this source tree. 6 * Licensed under GPLv2 or later, see file LICENSE in this source tree.
7 */ 7 */
8 8
9/* -v, -b, -c are ignored */
10//usage:#define install_trivial_usage
11//usage: "[-cdDsp] [-o USER] [-g GRP] [-m MODE] [SOURCE]... DEST"
12//usage:#define install_full_usage "\n\n"
13//usage: "Copy files and set attributes\n"
14//usage: "\nOptions:"
15//usage: "\n -c Just copy (default)"
16//usage: "\n -d Create directories"
17//usage: "\n -D Create leading target directories"
18//usage: "\n -s Strip symbol table"
19//usage: "\n -p Preserve date"
20//usage: "\n -o USER Set ownership"
21//usage: "\n -g GRP Set group ownership"
22//usage: "\n -m MODE Set permissions"
23//usage: IF_SELINUX(
24//usage: "\n -Z Set security context"
25//usage: )
26
9#include "libbb.h" 27#include "libbb.h"
10#include "libcoreutils/coreutils.h" 28#include "libcoreutils/coreutils.h"
11 29