Update documentation
This commit is contained in:
parent
732c2903d3
commit
ee37895206
|
@ -26,7 +26,7 @@
|
||||||
<arg choice="opt" rep="repeat">
|
<arg choice="opt" rep="repeat">
|
||||||
<option><replaceable>OPTION</replaceable></option>
|
<option><replaceable>OPTION</replaceable></option>
|
||||||
</arg>
|
</arg>
|
||||||
<arg choice="plain">
|
<arg choice="opt" rep="repeat">
|
||||||
<replaceable>dictionary.ifo</replaceable>
|
<replaceable>dictionary.ifo</replaceable>
|
||||||
</arg>
|
</arg>
|
||||||
</cmdsynopsis>
|
</cmdsynopsis>
|
||||||
|
@ -39,19 +39,12 @@ for viewing translation dictionaries, using a simple curses-based terminal UI.
|
||||||
<para>The program expects to find on its command line the path to a dictionary's
|
<para>The program expects to find on its command line the path to a dictionary's
|
||||||
.ifo file, which contains further information required for loading the
|
.ifo file, which contains further information required for loading the
|
||||||
dictionary.</para>
|
dictionary.</para>
|
||||||
<para>Future versions may additionally show a list of dictionaries available in
|
<para>Some options as well as dictionaries to load on start by default can be
|
||||||
preset search paths on startup.</para>
|
specified in a configuration file. See the README for an example.</para>
|
||||||
</refsect1>
|
</refsect1>
|
||||||
|
|
||||||
<refsect1><title>Options</title>
|
<refsect1><title>Options</title>
|
||||||
<variablelist>
|
<variablelist>
|
||||||
<varlistentry>
|
|
||||||
<term><option>-w</option>, <option>--watch-primary-selection=TIMER</option></term>
|
|
||||||
<listitem><para>
|
|
||||||
watch the value of the primary selection for input
|
|
||||||
</para></listitem>
|
|
||||||
</varlistentry>
|
|
||||||
|
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term><option>-h</option>, <option>--help</option></term>
|
<term><option>-h</option>, <option>--help</option></term>
|
||||||
<listitem><para>
|
<listitem><para>
|
||||||
|
|
|
@ -1986,7 +1986,7 @@ G_GNUC_END_IGNORE_DEPRECATIONS
|
||||||
|
|
||||||
GError *error = NULL;
|
GError *error = NULL;
|
||||||
GOptionContext *ctx = g_option_context_new
|
GOptionContext *ctx = g_option_context_new
|
||||||
(N_("[dictionary.ifo]... - StarDict terminal UI"));
|
(N_("[dictionary.ifo...] - StarDict terminal UI"));
|
||||||
GOptionGroup *group = g_option_group_new ("", "", "", NULL, NULL);
|
GOptionGroup *group = g_option_group_new ("", "", "", NULL, NULL);
|
||||||
g_option_group_add_entries (group, entries);
|
g_option_group_add_entries (group, entries);
|
||||||
g_option_group_set_translation_domain (group, GETTEXT_PACKAGE);
|
g_option_group_set_translation_domain (group, GETTEXT_PACKAGE);
|
||||||
|
|
Loading…
Reference in New Issue