Commit 710d3d79 710d3d7900efb61156f2486ba3be58720311745e by Sergey Poznyakoff

(struct mh_option): Removed longopt member

1 parent 1a7f20db
......@@ -46,11 +46,11 @@ static struct argp_option options[] = {
/* Traditional MH options */
struct mh_option mh_option[] = {
{"file", 2, NULL, 0, "input-file"},
{"draft", 1, NULL, 0, NULL },
{"link", 1, NULL, MH_OPT_BOOL, NULL },
{"preserve", 1, NULL, MH_OPT_BOOL, NULL },
{"src", 1, NULL, 0, "+folder" },
{"file", 2, 0, "input-file"},
{"draft", 1, 0, NULL },
{"link", 1, MH_OPT_BOOL, NULL },
{"preserve", 1, MH_OPT_BOOL, NULL },
{"src", 1, 0, "+folder" },
{ 0 }
};
......
......@@ -71,23 +71,23 @@ static struct argp_option options[] = {
/* Traditional MH options */
struct mh_option mh_option[] = {
{"annotate", 1, NULL, MH_OPT_BOOL },
{"build", 1, NULL, },
{"cc", 1, NULL, MH_OPT_ARG, "all/to/cc/me"},
{"nocc", 3, NULL, MH_OPT_ARG, "all/to/cc/me"},
{"form", 4, NULL, MH_OPT_ARG, "formatfile"},
{"width", 1, NULL, MH_OPT_ARG, "number"},
{"draftfolder", 6, NULL, MH_OPT_ARG, "folder"},
{"nodraftfolder", 3, NULL },
{"draftmessage", 6, NULL },
{"editor", 1, NULL, MH_OPT_ARG, "program"},
{"noedit", 3, NULL, },
{"fcc", 1, NULL, MH_OPT_ARG, "folder"},
{"filter", 2, NULL, MH_OPT_ARG, "program"},
{"inplace", 1, NULL, MH_OPT_BOOL },
{"query", 1, NULL, MH_OPT_BOOL },
{"whatnowproc", 2, NULL, MH_OPT_ARG, "program"},
{"nowhatnowproc", 3, NULL },
{"annotate", 1, MH_OPT_BOOL },
{"build", 1, },
{"cc", 1, MH_OPT_ARG, "all/to/cc/me"},
{"nocc", 3, MH_OPT_ARG, "all/to/cc/me"},
{"form", 4, MH_OPT_ARG, "formatfile"},
{"width", 1, MH_OPT_ARG, "number"},
{"draftfolder", 6, MH_OPT_ARG, "folder"},
{"nodraftfolder", 3 },
{"draftmessage", 6, },
{"editor", 1, MH_OPT_ARG, "program"},
{"noedit", 3, },
{"fcc", 1, MH_OPT_ARG, "folder"},
{"filter", 2, MH_OPT_ARG, "program"},
{"inplace", 1, MH_OPT_BOOL },
{"query", 1, MH_OPT_BOOL },
{"whatnowproc", 2, MH_OPT_ARG, "program"},
{"nowhatnowproc", 3 },
{ 0 }
};
......
......@@ -44,7 +44,7 @@ static struct argp_option options[] = {
/* Traditional MH options */
struct mh_option mh_option[] = {
{"interactive", 1, NULL, MH_OPT_BOOL, NULL},
{"interactive", 1, MH_OPT_BOOL, NULL},
{ 0 }
};
......