aboutsummaryrefslogtreecommitdiff
path: root/src/_usage.h
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-09-19 16:27:37 +0000
committerRoy Marples <roy@marples.name>2007-09-19 16:27:37 +0000
commitb6aa1c857c9cf4c2d54681875761fa5107433771 (patch)
treed724295dfa34b42404090d484c60c3a6109ebf7d /src/_usage.h
parenta74dd430d5c513f1e4d8ed13d7865eb24ccc5494 (diff)
Added the checkown applet based on the work by Renato Caldas, #192682
checkdir ensures that the specified files (or directories) are owned by the current user/group or as specified on the command line. You can optionally check permissions too.
Diffstat (limited to 'src/_usage.h')
-rw-r--r--src/_usage.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/_usage.h b/src/_usage.h
index 56ea8f6e..6f48cf8a 100644
--- a/src/_usage.h
+++ b/src/_usage.h
@@ -7,12 +7,14 @@
* Released under the GPLv2
*/
-#define getoptstring_COMMON "Ch"
+#define getoptstring_COMMON "Chq"
#define longopts_COMMON \
{ "help", 0, NULL, 'h'}, \
- { "nocolor", 0, NULL, 'C'},
+ { "nocolor", 0, NULL, 'C'}, \
+ { "quiet", 0, NULL, 'q'},
#define case_RC_COMMON_GETOPT \
case 'C': setenv ("RC_NOCOLOR", "yes", 1); break; \
case 'h': usage (EXIT_SUCCESS); \
+ case 'q': setenv ("RC_QUIET", "yes", 1); break; \
default: usage (EXIT_FAILURE);