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/chmod.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/chmod.c')
-rw-r--r-- | coreutils/chmod.c | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/coreutils/chmod.c b/coreutils/chmod.c index f07a49bd3..0bcd6bb66 100644 --- a/coreutils/chmod.c +++ b/coreutils/chmod.c | |||
@@ -14,6 +14,29 @@ | |||
14 | /* BB_AUDIT GNU defects - unsupported long options. */ | 14 | /* BB_AUDIT GNU defects - unsupported long options. */ |
15 | /* http://www.opengroup.org/onlinepubs/007904975/utilities/chmod.html */ | 15 | /* http://www.opengroup.org/onlinepubs/007904975/utilities/chmod.html */ |
16 | 16 | ||
17 | //usage:#define chmod_trivial_usage | ||
18 | //usage: "[-R"IF_DESKTOP("cvf")"] MODE[,MODE]... FILE..." | ||
19 | //usage:#define chmod_full_usage "\n\n" | ||
20 | //usage: "Each MODE is one or more of the letters ugoa, one of the\n" | ||
21 | //usage: "symbols +-= and one or more of the letters rwxst\n" | ||
22 | //usage: "\nOptions:" | ||
23 | //usage: "\n -R Recurse" | ||
24 | //usage: IF_DESKTOP( | ||
25 | //usage: "\n -c List changed files" | ||
26 | //usage: "\n -v List all files" | ||
27 | //usage: "\n -f Hide errors" | ||
28 | //usage: ) | ||
29 | //usage: | ||
30 | //usage:#define chmod_example_usage | ||
31 | //usage: "$ ls -l /tmp/foo\n" | ||
32 | //usage: "-rw-rw-r-- 1 root root 0 Apr 12 18:25 /tmp/foo\n" | ||
33 | //usage: "$ chmod u+x /tmp/foo\n" | ||
34 | //usage: "$ ls -l /tmp/foo\n" | ||
35 | //usage: "-rwxrw-r-- 1 root root 0 Apr 12 18:25 /tmp/foo*\n" | ||
36 | //usage: "$ chmod 444 /tmp/foo\n" | ||
37 | //usage: "$ ls -l /tmp/foo\n" | ||
38 | //usage: "-r--r--r-- 1 root root 0 Apr 12 18:25 /tmp/foo\n" | ||
39 | |||
17 | #include "libbb.h" | 40 | #include "libbb.h" |
18 | 41 | ||
19 | /* This is a NOEXEC applet. Be very careful! */ | 42 | /* This is a NOEXEC applet. Be very careful! */ |