From b6aa1c857c9cf4c2d54681875761fa5107433771 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Wed, 19 Sep 2007 16:27:37 +0000 Subject: 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. --- src/_usage.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/_usage.h') 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); -- cgit v1.2.3