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

Diff of /mailutils/mh/forw.c

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

revision 1.2 by gray, Sat Mar 15 23:20:45 2003 UTC revision 1.3 by gray, Wed Mar 19 14:08:24 2003 UTC
# Line 66  static struct argp_option options[] = { Line 66  static struct argp_option options[] = {
66     N_("* Ignore whatnowproc variable. Use standard `whatnow' shell instead.")},     N_("* Ignore whatnowproc variable. Use standard `whatnow' shell instead.")},
67    {"use",           ARG_USE,           N_("BOOL"), OPTION_ARG_OPTIONAL,    {"use",           ARG_USE,           N_("BOOL"), OPTION_ARG_OPTIONAL,
68     N_("Use draft file preserved after the last session") },     N_("Use draft file preserved after the last session") },
69      {"nouse",         ARG_NOUSE,         N_("BOOL"), OPTION_HIDDEN, "" },
70    
71      {"license", ARG_LICENSE, 0,      0,
72       N_("Display software license"), -1},
73    
74    {NULL},    {NULL},
75  };  };
76    
# Line 128  opt_handler (int key, char *arg, void *u Line 133  opt_handler (int key, char *arg, void *u
133        use_draft = is_true (arg);        use_draft = is_true (arg);
134        break;        break;
135    
136        case ARG_NOUSE:
137          use_draft = 0;
138          break;
139    
140      case ARG_WIDTH:      case ARG_WIDTH:
141        width = strtoul (arg, NULL, 0);        width = strtoul (arg, NULL, 0);
142        if (!width)        if (!width)
# Line 184  opt_handler (int key, char *arg, void *u Line 193  opt_handler (int key, char *arg, void *u
193        argp_error (state, _("option is not yet implemented"));        argp_error (state, _("option is not yet implemented"));
194        exit (1);        exit (1);
195                
196        case ARG_LICENSE:
197          mh_license (argp_program_version);
198          break;
199    
200      default:      default:
201        return 1;        return 1;
202      }      }

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

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