diff options
Diffstat (limited to 'chmod_chown_chgrp.c')
-rw-r--r-- | chmod_chown_chgrp.c | 30 |
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; | |||
43 | #define CHOWN_APP 2 | 43 | #define CHOWN_APP 2 |
44 | #define CHMOD_APP 3 | 44 | #define CHMOD_APP 3 |
45 | 45 | ||
46 | static const char chgrp_usage[] = "chgrp [OPTION]... GROUP FILE...\n\n" | 46 | static const char chgrp_usage[] = "chgrp [OPTION]... GROUP FILE...\n" |
47 | "Change the group membership of each FILE to GROUP.\n" | 47 | #ifndef BB_FEATURE_TRIVIAL_HELP |
48 | 48 | "\nChange the group membership of each FILE to GROUP.\n" | |
49 | "\nOptions:\n\t-R\tchange files and directories recursively\n"; | 49 | "\nOptions:\n\t-R\tChanges files and directories recursively.\n" |
50 | #endif | ||
51 | ; | ||
50 | static const char chown_usage[] = | 52 | static const char chown_usage[] = |
51 | "chown [OPTION]... OWNER[<.|:>[GROUP] FILE...\n\n" | 53 | "chown [OPTION]... OWNER[<.|:>[GROUP] FILE...\n" |
52 | "Change the owner and/or group of each FILE to OWNER and/or GROUP.\n" | 54 | #ifndef BB_FEATURE_TRIVIAL_HELP |
53 | 55 | "\nChange the owner and/or group of each FILE to OWNER and/or GROUP.\n" | |
54 | "\nOptions:\n\t-R\tchange files and directories recursively\n"; | 56 | "\nOptions:\n\t-R\tChanges files and directories recursively.\n" |
57 | #endif | ||
58 | ; | ||
55 | static const char chmod_usage[] = | 59 | static const char chmod_usage[] = |
56 | "chmod [-R] MODE[,MODE]... FILE...\n\n" | 60 | "chmod [-R] MODE[,MODE]... FILE...\n" |
57 | "Each MODE is one or more of the letters ugoa, one of the symbols +-= and\n" | 61 | #ifndef BB_FEATURE_TRIVIAL_HELP |
58 | 62 | "\nEach MODE is one or more of the letters ugoa, one of the symbols +-= and\n" | |
59 | "one or more of the letters rwxst.\n\n" | 63 | "one or more of the letters rwxst.\n\n" |
60 | "\nOptions:\n\t-R\tchange files and directories recursively.\n"; | 64 | "\nOptions:\n\t-R\tChanges files and directories recursively.\n" |
65 | #endif | ||
66 | ; | ||
61 | 67 | ||
62 | 68 | ||
63 | static int fileAction(const char *fileName, struct stat *statbuf, void* junk) | 69 | static int fileAction(const char *fileName, struct stat *statbuf, void* junk) |