/[mailutils]/mailutils/mh/rmf.c
ViewVC logotype

Diff of /mailutils/mh/rmf.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.8 by polak, Sun Feb 9 21:06:49 2003 UTC revision 1.9 by gray, Mon Feb 10 01:08:09 2003 UTC
# Line 35  static char args_doc[] = N_("[+folder]") Line 35  static char args_doc[] = N_("[+folder]")
35    
36  /* GNU options */  /* GNU options */
37  static struct argp_option options[] = {  static struct argp_option options[] = {
38    {"folder",  'f', N_("FOLDER"), 0, N_("Specify the folder to delete")},    {"folder",  ARG_FOLDER, N_("FOLDER"), 0,
39    {"interactive", 'i', N_("BOOL"), OPTION_ARG_OPTIONAL,     N_("Specify the folder to delete")},
40      {"interactive", ARG_INTERACTIVE, N_("BOOL"), OPTION_ARG_OPTIONAL,
41      N_("Interactive mode: ask for confirmation before removing each folder")},      N_("Interactive mode: ask for confirmation before removing each folder")},
42    {"recursive", 'r', NULL, 0, N_("Recursively delete all subfolders")},    {"recursive", ARG_RECURSIVE, NULL, 0,
43       N_("Recursively delete all subfolders")},
44    { 0 }    { 0 }
45  };  };
46    
# Line 58  opt_handler (int key, char *arg, void *u Line 60  opt_handler (int key, char *arg, void *u
60    switch (key)    switch (key)
61      {      {
62      case '+':      case '+':
63      case 'f':      case ARG_FOLDER:
64        explicit_folder = 1;        explicit_folder = 1;
65        current_folder = arg;        current_folder = arg;
66        break;        break;
67    
68      case 'i':      case ARG_INTERACTIVE:
69        interactive = is_true (arg);        interactive = is_true (arg);
70        break;        break;
71    
72      case 'r':      case ARG_RECURSIVE:
73        recurse = is_true (arg);        recurse = is_true (arg);
74        break;        break;
75                

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26