(struct mh_option): Removed longopt member
Showing
3 changed files
with
23 additions
and
23 deletions
... | @@ -46,11 +46,11 @@ static struct argp_option options[] = { | ... | @@ -46,11 +46,11 @@ static struct argp_option options[] = { |
46 | 46 | ||
47 | /* Traditional MH options */ | 47 | /* Traditional MH options */ |
48 | struct mh_option mh_option[] = { | 48 | struct mh_option mh_option[] = { |
49 | {"file", 2, NULL, 0, "input-file"}, | 49 | {"file", 2, 0, "input-file"}, |
50 | {"draft", 1, NULL, 0, NULL }, | 50 | {"draft", 1, 0, NULL }, |
51 | {"link", 1, NULL, MH_OPT_BOOL, NULL }, | 51 | {"link", 1, MH_OPT_BOOL, NULL }, |
52 | {"preserve", 1, NULL, MH_OPT_BOOL, NULL }, | 52 | {"preserve", 1, MH_OPT_BOOL, NULL }, |
53 | {"src", 1, NULL, 0, "+folder" }, | 53 | {"src", 1, 0, "+folder" }, |
54 | { 0 } | 54 | { 0 } |
55 | }; | 55 | }; |
56 | 56 | ... | ... |
... | @@ -71,23 +71,23 @@ static struct argp_option options[] = { | ... | @@ -71,23 +71,23 @@ static struct argp_option options[] = { |
71 | 71 | ||
72 | /* Traditional MH options */ | 72 | /* Traditional MH options */ |
73 | struct mh_option mh_option[] = { | 73 | struct mh_option mh_option[] = { |
74 | {"annotate", 1, NULL, MH_OPT_BOOL }, | 74 | {"annotate", 1, MH_OPT_BOOL }, |
75 | {"build", 1, NULL, }, | 75 | {"build", 1, }, |
76 | {"cc", 1, NULL, MH_OPT_ARG, "all/to/cc/me"}, | 76 | {"cc", 1, MH_OPT_ARG, "all/to/cc/me"}, |
77 | {"nocc", 3, NULL, MH_OPT_ARG, "all/to/cc/me"}, | 77 | {"nocc", 3, MH_OPT_ARG, "all/to/cc/me"}, |
78 | {"form", 4, NULL, MH_OPT_ARG, "formatfile"}, | 78 | {"form", 4, MH_OPT_ARG, "formatfile"}, |
79 | {"width", 1, NULL, MH_OPT_ARG, "number"}, | 79 | {"width", 1, MH_OPT_ARG, "number"}, |
80 | {"draftfolder", 6, NULL, MH_OPT_ARG, "folder"}, | 80 | {"draftfolder", 6, MH_OPT_ARG, "folder"}, |
81 | {"nodraftfolder", 3, NULL }, | 81 | {"nodraftfolder", 3 }, |
82 | {"draftmessage", 6, NULL }, | 82 | {"draftmessage", 6, }, |
83 | {"editor", 1, NULL, MH_OPT_ARG, "program"}, | 83 | {"editor", 1, MH_OPT_ARG, "program"}, |
84 | {"noedit", 3, NULL, }, | 84 | {"noedit", 3, }, |
85 | {"fcc", 1, NULL, MH_OPT_ARG, "folder"}, | 85 | {"fcc", 1, MH_OPT_ARG, "folder"}, |
86 | {"filter", 2, NULL, MH_OPT_ARG, "program"}, | 86 | {"filter", 2, MH_OPT_ARG, "program"}, |
87 | {"inplace", 1, NULL, MH_OPT_BOOL }, | 87 | {"inplace", 1, MH_OPT_BOOL }, |
88 | {"query", 1, NULL, MH_OPT_BOOL }, | 88 | {"query", 1, MH_OPT_BOOL }, |
89 | {"whatnowproc", 2, NULL, MH_OPT_ARG, "program"}, | 89 | {"whatnowproc", 2, MH_OPT_ARG, "program"}, |
90 | {"nowhatnowproc", 3, NULL }, | 90 | {"nowhatnowproc", 3 }, |
91 | { 0 } | 91 | { 0 } |
92 | }; | 92 | }; |
93 | 93 | ... | ... |
... | @@ -44,7 +44,7 @@ static struct argp_option options[] = { | ... | @@ -44,7 +44,7 @@ static struct argp_option options[] = { |
44 | 44 | ||
45 | /* Traditional MH options */ | 45 | /* Traditional MH options */ |
46 | struct mh_option mh_option[] = { | 46 | struct mh_option mh_option[] = { |
47 | {"interactive", 1, NULL, MH_OPT_BOOL, NULL}, | 47 | {"interactive", 1, MH_OPT_BOOL, NULL}, |
48 | { 0 } | 48 | { 0 } |
49 | }; | 49 | }; |
50 | 50 | ... | ... |
-
Please register or sign in to post a comment