* use '-m' shortcut only for --maildir, not for --muhome...

This commit is contained in:
Dirk-Jan C. Binnema 2010-09-06 23:44:23 +03:00
parent 3def4d36b8
commit c6ebff4928
1 changed files with 2 additions and 2 deletions

View File

@ -67,7 +67,7 @@ config_options_group_mu (MuConfigOptions *opts)
"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", 'm', 0, G_OPTION_ARG_FILENAME, &opts->muhome, {"muhome", 0, 0, G_OPTION_ARG_FILENAME, &opts->muhome,
"specify an alternative mu directory", NULL}, "specify an alternative mu directory", NULL},
{"log-stderr", 0, 0, G_OPTION_ARG_NONE, &opts->log_stderr, {"log-stderr", 0, 0, G_OPTION_ARG_NONE, &opts->log_stderr,
"log to standard error", NULL}, "log to standard error", NULL},
@ -108,7 +108,7 @@ config_options_group_index (MuConfigOptions *opts)
{"maildir", 'm', 0, G_OPTION_ARG_FILENAME, &opts->maildir, {"maildir", 'm', 0, G_OPTION_ARG_FILENAME, &opts->maildir,
"top of the maildir", NULL}, "top of the maildir", NULL},
{"reindex", 0, 0, G_OPTION_ARG_NONE, &opts->reindex, {"reindex", 0, 0, G_OPTION_ARG_NONE, &opts->reindex,
"index already indexed messages too", NULL}, "index even already indexed messages", NULL},
{"rebuild", 0, 0, G_OPTION_ARG_NONE, &opts->rebuild, {"rebuild", 0, 0, G_OPTION_ARG_NONE, &opts->rebuild,
"rebuild the database from scratch", NULL}, "rebuild the database from scratch", NULL},
{"autoupgrade", 0, 0, G_OPTION_ARG_NONE, &opts->autoupgrade, {"autoupgrade", 0, 0, G_OPTION_ARG_NONE, &opts->autoupgrade,