diff options
author | Monsta <[email protected]> | 2015-08-21 22:12:22 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2015-09-01 13:11:45 +0300 |
commit | fa4f269dc35dc77ee3d103692eb5cfa04a629df3 (patch) | |
tree | 9c8e8b6754a8ced54b9391a7a1a27e7808776a90 /mate-dictionary/src/gdict-app.c | |
parent | bda70803b3719bf6a01552819b8e68284735efc3 (diff) | |
download | mate-utils-fa4f269dc35dc77ee3d103692eb5cfa04a629df3.tar.bz2 mate-utils-fa4f269dc35dc77ee3d103692eb5cfa04a629df3.tar.xz |
dictionary: update man page and remove useless command-line args
Diffstat (limited to 'mate-dictionary/src/gdict-app.c')
-rw-r--r-- | mate-dictionary/src/gdict-app.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/mate-dictionary/src/gdict-app.c b/mate-dictionary/src/gdict-app.c index 78fc0912..57cf8030 100644 --- a/mate-dictionary/src/gdict-app.c +++ b/mate-dictionary/src/gdict-app.c @@ -326,10 +326,8 @@ gdict_init (int *argc, char ***argv) gchar **lookup_words = NULL; gchar **match_words = NULL; gchar *database = NULL; - gchar *strategy = NULL; gchar *source_name = NULL; gboolean no_window = FALSE; - gboolean list_sources = FALSE; const GOptionEntry gdict_app_goptions[] = { @@ -339,14 +337,10 @@ gdict_init (int *argc, char ***argv) N_("Words to match"), N_("word") }, { "source", 's', 0, G_OPTION_ARG_STRING, &source_name, N_("Dictionary source to use"), N_("source") }, - { "list-sources", 'l', 0, G_OPTION_ARG_NONE, &list_sources, - N_("Show available dictionary sources"), NULL }, { "no-window", 'n', 0, G_OPTION_ARG_NONE, &no_window, N_("Print result to the console"), NULL }, { "database", 'D', 0, G_OPTION_ARG_STRING, &database, N_("Database to use"), N_("db") }, - { "strategy", 'S', 0, G_OPTION_ARG_STRING, &strategy, - N_("Strategy to use"), N_("strat") }, { G_OPTION_REMAINING, 0, 0, G_OPTION_ARG_STRING_ARRAY, &lookup_words, N_("Words to look up"), N_("word") }, { NULL }, @@ -422,9 +416,6 @@ gdict_init (int *argc, char ***argv) if (no_window) singleton->no_window = TRUE; - - if (list_sources) - singleton->list_sources = TRUE; } void |