summaryrefslogtreecommitdiffhomepage
path: root/chmod_chown_chgrp.c
diff options
context:
space:
mode:
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 fb93f3ff8..d5c21a220 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)