diff options
author | Ron Yorston <rmy@pobox.com> | 2012-03-22 14:11:12 +0000 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2012-03-22 14:11:12 +0000 |
commit | 67758035a4fe040c6ac69b39d61bcd6bddd7b827 (patch) | |
tree | a4a1db7f54c16d12fabe2626b8f1e235cd694e9e /coreutils/chgrp.c | |
parent | 811c449748d5bd0505f8510e5582892f94ac0cda (diff) | |
parent | b83c9704128dd106071184e4b00335a3b8486857 (diff) | |
download | busybox-w32-67758035a4fe040c6ac69b39d61bcd6bddd7b827.tar.gz busybox-w32-67758035a4fe040c6ac69b39d61bcd6bddd7b827.tar.bz2 busybox-w32-67758035a4fe040c6ac69b39d61bcd6bddd7b827.zip |
Merge commit 'b83c9704128dd106071184e4b00335a3b8486857' into merge
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! */ |