summaryrefslogtreecommitdiff
path: root/chmod_chown_chgrp.c
diff options
context:
space:
mode:
authorErik Andersen2000-04-21 01:26:49 +0000
committerErik Andersen2000-04-21 01:26:49 +0000
commit1d1d95051a288b6bf64498aac9fb20047f384b7d (patch)
tree2c99ce8ba7d4d592806fbf81899e663bc884676b /chmod_chown_chgrp.c
parentcf8d38a3eb46f4f9c4e674d43cff486cd79c9c0f (diff)
downloadbusybox-1d1d95051a288b6bf64498aac9fb20047f384b7d.zip
busybox-1d1d95051a288b6bf64498aac9fb20047f384b7d.tar.gz
More Doc updates. cmdedit and more termio fixes.
Diffstat (limited to 'chmod_chown_chgrp.c')
-rw-r--r--chmod_chown_chgrp.c30
1 files changed, 18 insertions, 12 deletions
diff --git a/chmod_chown_chgrp.c b/chmod_chown_chgrp.c
index fb93f3f..d5c21a2 100644
--- a/chmod_chown_chgrp.c
+++ b/chmod_chown_chgrp.c
@@ -43,21 +43,27 @@ static char *theMode = NULL;
#define CHOWN_APP 2
#define CHMOD_APP 3
-static const char chgrp_usage[] = "chgrp [OPTION]... GROUP FILE...\n\n"
- "Change the group membership of each FILE to GROUP.\n"
-
- "\nOptions:\n\t-R\tchange files and directories recursively\n";
+static const char chgrp_usage[] = "chgrp [OPTION]... GROUP FILE...\n"
+#ifndef BB_FEATURE_TRIVIAL_HELP
+ "\nChange the group membership of each FILE to GROUP.\n"
+ "\nOptions:\n\t-R\tChanges files and directories recursively.\n"
+#endif
+ ;
static const char chown_usage[] =
- "chown [OPTION]... OWNER[<.|:>[GROUP] FILE...\n\n"
- "Change the owner and/or group of each FILE to OWNER and/or GROUP.\n"
-
- "\nOptions:\n\t-R\tchange files and directories recursively\n";
+ "chown [OPTION]... OWNER[<.|:>[GROUP] FILE...\n"
+#ifndef BB_FEATURE_TRIVIAL_HELP
+ "\nChange the owner and/or group of each FILE to OWNER and/or GROUP.\n"
+ "\nOptions:\n\t-R\tChanges files and directories recursively.\n"
+#endif
+ ;
static const char chmod_usage[] =
- "chmod [-R] MODE[,MODE]... FILE...\n\n"
- "Each MODE is one or more of the letters ugoa, one of the symbols +-= and\n"
-
+ "chmod [-R] MODE[,MODE]... FILE...\n"
+#ifndef BB_FEATURE_TRIVIAL_HELP
+ "\nEach MODE is one or more of the letters ugoa, one of the symbols +-= and\n"
"one or more of the letters rwxst.\n\n"
- "\nOptions:\n\t-R\tchange files and directories recursively.\n";
+ "\nOptions:\n\t-R\tChanges files and directories recursively.\n"
+#endif
+ ;
static int fileAction(const char *fileName, struct stat *statbuf, void* junk)