aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2006-10-27 16:07:20 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2006-10-27 16:07:20 +0000
commit51b4c92f80dc232b9d34985f99a4479393644433 (patch)
treee62b6e2b809db8135d640e3b8222cfd4d52d9098 /include
parentfefb279ace2da131cad369a3cc6983a1bc220a4a (diff)
downloadbusybox-51b4c92f80dc232b9d34985f99a4479393644433.tar.gz
chown: add -vcf support if CONFIG_DESKTOP
chmod: stop following symlinks
Diffstat (limited to 'include')
-rw-r--r--include/usage.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/include/usage.h b/include/usage.h
index 26122fd79..8d61c2907 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -204,12 +204,17 @@
"-r--r--r-- 1 root root 0 Apr 12 18:25 /tmp/foo\n"
#define chown_trivial_usage \
- "[ -Rh ]... OWNER[<.|:>[GROUP]] FILE..."
+ "[-Rh"USE_DESKTOP("cvf")"]... OWNER[<.|:>[GROUP]] FILE..."
#define chown_full_usage \
"Change the owner and/or group of each FILE to OWNER and/or GROUP.\n" \
"\nOptions:\n" \
"\t-R\tChanges files and directories recursively\n" \
- "\t-h\tDo not dereference symbolic links"
+ "\t-h\tDo not dereference symbolic links" \
+ USE_DESKTOP( \
+ "\n\t-c\tList changed files" \
+ "\n\t-v\tList all files" \
+ "\n\t-f\tHide errors" \
+ )
#define chown_example_usage \
"$ ls -l /tmp/foo\n" \
"-r--r--r-- 1 andersen andersen 0 Apr 12 18:25 /tmp/foo\n" \