aboutsummaryrefslogtreecommitdiff
path: root/chmod_chown_chgrp.c
diff options
context:
space:
mode:
Diffstat (limited to 'chmod_chown_chgrp.c')
-rw-r--r--chmod_chown_chgrp.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/chmod_chown_chgrp.c b/chmod_chown_chgrp.c
index 156a0a9f9..c02f2a3cb 100644
--- a/chmod_chown_chgrp.c
+++ b/chmod_chown_chgrp.c
@@ -43,29 +43,6 @@ 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
46static const char chgrp_usage[] = "chgrp [OPTION]... GROUP FILE...\n"
47#ifndef BB_FEATURE_TRIVIAL_HELP
48 "\nChange the group membership of each FILE to GROUP.\n"
49 "\nOptions:\n\t-R\tChanges files and directories recursively.\n"
50#endif
51 ;
52static const char chown_usage[] =
53 "chown [OPTION]... OWNER[<.|:>[GROUP] FILE...\n"
54#ifndef BB_FEATURE_TRIVIAL_HELP
55 "\nChange the owner and/or group of each FILE to OWNER and/or GROUP.\n"
56 "\nOptions:\n\t-R\tChanges files and directories recursively.\n"
57#endif
58 ;
59static const char chmod_usage[] =
60 "chmod [-R] MODE[,MODE]... FILE...\n"
61#ifndef BB_FEATURE_TRIVIAL_HELP
62 "\nEach MODE is one or more of the letters ugoa, one of the symbols +-= and\n"
63 "one or more of the letters rwxst.\n\n"
64 "\nOptions:\n\t-R\tChanges files and directories recursively.\n"
65#endif
66 ;
67
68
69static int fileAction(const char *fileName, struct stat *statbuf, void* junk) 46static int fileAction(const char *fileName, struct stat *statbuf, void* junk)
70{ 47{
71 switch (whichApp) { 48 switch (whichApp) {