mirror of https://github.com/djcb/mu.git
* mu-config.c: better command line options for some options
This commit is contained in:
parent
1f7b7ba0a1
commit
165ba1f440
|
@ -29,14 +29,14 @@ mu_config_options_group_mu (MuConfigOptions *opts)
|
||||||
{
|
{
|
||||||
GOptionGroup *og;
|
GOptionGroup *og;
|
||||||
GOptionEntry entries[] = {
|
GOptionEntry entries[] = {
|
||||||
{ "debug", 'g', 0, G_OPTION_ARG_NONE, &opts->debug,
|
{ "debug", 'd', 0, G_OPTION_ARG_NONE, &opts->debug,
|
||||||
"print debug output to standard error", NULL },
|
"print debug output to standard error", NULL },
|
||||||
{ "quiet", 'q', 0, G_OPTION_ARG_NONE, &opts->quiet,
|
{ "quiet", 'q', 0, G_OPTION_ARG_NONE, &opts->quiet,
|
||||||
"don't give any progress information", NULL },
|
"don't give any progress information", NULL },
|
||||||
{"version", 'v', 0, G_OPTION_ARG_NONE, &opts->version,
|
{"version", 'v', 0, G_OPTION_ARG_NONE, &opts->version,
|
||||||
"display version and copyright information", NULL},
|
"display version and copyright information", NULL},
|
||||||
{"muhome", 'h', 0, G_OPTION_ARG_FILENAME, &opts->muhome,
|
{"muhome", 'a', 0, G_OPTION_ARG_FILENAME, &opts->muhome,
|
||||||
"mu directory", NULL},
|
"specify an alternative mu directory ", NULL},
|
||||||
{"log-stderr", 'e', 0, G_OPTION_ARG_NONE, &opts->log_stderr,
|
{"log-stderr", 'e', 0, G_OPTION_ARG_NONE, &opts->log_stderr,
|
||||||
"log to standard error", NULL},
|
"log to standard error", NULL},
|
||||||
{ G_OPTION_REMAINING, 0, 0, G_OPTION_ARG_STRING_ARRAY,
|
{ G_OPTION_REMAINING, 0, 0, G_OPTION_ARG_STRING_ARRAY,
|
||||||
|
@ -87,9 +87,9 @@ mu_config_options_group_query (MuConfigOptions *opts)
|
||||||
"fields to display in the output", NULL},
|
"fields to display in the output", NULL},
|
||||||
{"sortfield", 's', 0, G_OPTION_ARG_STRING, &opts->sortfield,
|
{"sortfield", 's', 0, G_OPTION_ARG_STRING, &opts->sortfield,
|
||||||
"field to sort on", NULL},
|
"field to sort on", NULL},
|
||||||
{"descending", 'd', 0, G_OPTION_ARG_NONE, &opts->descending,
|
{"descending", 'z', 0, G_OPTION_ARG_NONE, &opts->descending,
|
||||||
"sort descending", NULL},
|
"sort in descending order (z -> a)", NULL},
|
||||||
{"linksdir", 't', 0, G_OPTION_ARG_STRING, &opts->linksdir,
|
{"linksdir", 'l', 0, G_OPTION_ARG_STRING, &opts->linksdir,
|
||||||
"output as symbolic links to a target maildir", NULL },
|
"output as symbolic links to a target maildir", NULL },
|
||||||
{"clearlinks", 'c', 0, G_OPTION_ARG_NONE, &opts->clearlinks,
|
{"clearlinks", 'c', 0, G_OPTION_ARG_NONE, &opts->clearlinks,
|
||||||
"clear old links before filling a linksdir", NULL},
|
"clear old links before filling a linksdir", NULL},
|
||||||
|
|
Loading…
Reference in New Issue