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/chgrp.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/chgrp.c')
-rw-r--r-- | coreutils/chgrp.c | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/coreutils/chgrp.c b/coreutils/chgrp.c index 58f78e736..bc9608362 100644 --- a/coreutils/chgrp.c +++ b/coreutils/chgrp.c | |||
@@ -11,6 +11,29 @@ | |||
11 | /* BB_AUDIT GNU defects - unsupported long options. */ | 11 | /* BB_AUDIT GNU defects - unsupported long options. */ |
12 | /* http://www.opengroup.org/onlinepubs/007904975/utilities/chgrp.html */ | 12 | /* http://www.opengroup.org/onlinepubs/007904975/utilities/chgrp.html */ |
13 | 13 | ||
14 | //usage:#define chgrp_trivial_usage | ||
15 | //usage: "[-RhLHP"IF_DESKTOP("cvf")"]... GROUP FILE..." | ||
16 | //usage:#define chgrp_full_usage "\n\n" | ||
17 | //usage: "Change the group membership of each FILE to GROUP\n" | ||
18 | //usage: "\nOptions:" | ||
19 | //usage: "\n -R Recurse" | ||
20 | //usage: "\n -h Affect symlinks instead of symlink targets" | ||
21 | //usage: "\n -L Traverse all symlinks to directories" | ||
22 | //usage: "\n -H Traverse symlinks on command line only" | ||
23 | //usage: "\n -P Don't traverse symlinks (default)" | ||
24 | //usage: IF_DESKTOP( | ||
25 | //usage: "\n -c List changed files" | ||
26 | //usage: "\n -v Verbose" | ||
27 | //usage: "\n -f Hide errors" | ||
28 | //usage: ) | ||
29 | //usage: | ||
30 | //usage:#define chgrp_example_usage | ||
31 | //usage: "$ ls -l /tmp/foo\n" | ||
32 | //usage: "-r--r--r-- 1 andersen andersen 0 Apr 12 18:25 /tmp/foo\n" | ||
33 | //usage: "$ chgrp root /tmp/foo\n" | ||
34 | //usage: "$ ls -l /tmp/foo\n" | ||
35 | //usage: "-r--r--r-- 1 andersen root 0 Apr 12 18:25 /tmp/foo\n" | ||
36 | |||
14 | #include "libbb.h" | 37 | #include "libbb.h" |
15 | 38 | ||
16 | /* This is a NOEXEC applet. Be very careful! */ | 39 | /* This is a NOEXEC applet. Be very careful! */ |