mirror of https://github.com/djcb/mu.git
config: fix --terminate help display
There is no parameter
This commit is contained in:
parent
d5f41f8ddf
commit
7345edc21d
|
@ -371,24 +371,34 @@ crypto_option_entries ()
|
||||||
return entries;
|
return entries;
|
||||||
}
|
}
|
||||||
|
|
||||||
static GOptionGroup *
|
static GOptionGroup*
|
||||||
config_options_group_view ()
|
config_options_group_view()
|
||||||
{
|
{
|
||||||
GOptionGroup *og;
|
GOptionGroup* og;
|
||||||
GOptionEntry entries[] = {
|
GOptionEntry entries[] = {{"summary-len",
|
||||||
{"summary-len", 0, 0, G_OPTION_ARG_INT, &MU_CONFIG.summary_len,
|
0,
|
||||||
"use up to <n> lines for the summary, or 0 for none (0)",
|
0,
|
||||||
"<len>"},
|
G_OPTION_ARG_INT,
|
||||||
{"terminate", 0, 0, G_OPTION_ARG_NONE, &MU_CONFIG.terminator,
|
&MU_CONFIG.summary_len,
|
||||||
"terminate messages with ascii-0x07 (\\f, form-feed)",
|
"use up to <n> lines for the summary, or 0 for none (0)",
|
||||||
"<term>"},
|
"<len>"},
|
||||||
{"format", 'o', 0, G_OPTION_ARG_STRING, &MU_CONFIG.formatstr,
|
{"terminate",
|
||||||
"output format ('plain'(*), 'sexp')", "<format>"},
|
0,
|
||||||
{NULL, 0, 0, G_OPTION_ARG_NONE, NULL, NULL, NULL}
|
0,
|
||||||
};
|
G_OPTION_ARG_NONE,
|
||||||
|
&MU_CONFIG.terminator,
|
||||||
|
"terminate messages with ascii-0x07 (\\f, form-feed)",
|
||||||
|
NULL},
|
||||||
|
{"format",
|
||||||
|
'o',
|
||||||
|
0,
|
||||||
|
G_OPTION_ARG_STRING,
|
||||||
|
&MU_CONFIG.formatstr,
|
||||||
|
"output format ('plain'(*), 'sexp')",
|
||||||
|
"<format>"},
|
||||||
|
{NULL, 0, 0, G_OPTION_ARG_NONE, NULL, NULL, NULL}};
|
||||||
|
|
||||||
og = g_option_group_new("view", "Options for the 'view' command",
|
og = g_option_group_new("view", "Options for the 'view' command", "", NULL, NULL);
|
||||||
"", NULL, NULL);
|
|
||||||
|
|
||||||
g_option_group_add_entries(og, entries);
|
g_option_group_add_entries(og, entries);
|
||||||
g_option_group_add_entries(og, crypto_option_entries());
|
g_option_group_add_entries(og, crypto_option_entries());
|
||||||
|
|
Loading…
Reference in New Issue