diff options
| author | Přemysl Janouch <p.janouch@gmail.com> | 2016-09-28 16:11:56 +0200 | 
|---|---|---|
| committer | Přemysl Janouch <p.janouch@gmail.com> | 2016-09-28 16:11:56 +0200 | 
| commit | ee378952069a856e09ae4612e9042edd448e343b (patch) | |
| tree | ad92fa36acfafb1bd51a9b125dc77948a63c3aec | |
| parent | 732c2903d32da21e3d4cfb2a26bfdbf2db19a65f (diff) | |
| download | tdv-ee378952069a856e09ae4612e9042edd448e343b.tar.gz tdv-ee378952069a856e09ae4612e9042edd448e343b.tar.xz tdv-ee378952069a856e09ae4612e9042edd448e343b.zip | |
Update documentation
| -rw-r--r-- | docs/sdtui.1.xml | 13 | ||||
| -rw-r--r-- | src/sdtui.c | 2 | 
2 files changed, 4 insertions, 11 deletions
| diff --git a/docs/sdtui.1.xml b/docs/sdtui.1.xml index 279eed0..393c95c 100644 --- a/docs/sdtui.1.xml +++ b/docs/sdtui.1.xml @@ -26,7 +26,7 @@  		<arg choice="opt" rep="repeat">  			<option><replaceable>OPTION</replaceable></option>  		</arg> -		<arg choice="plain"> +		<arg choice="opt" rep="repeat">  			<replaceable>dictionary.ifo</replaceable>  		</arg>  	</cmdsynopsis> @@ -39,20 +39,13 @@ 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  .ifo file, which contains further information required for loading the  dictionary.</para> -<para>Future versions may additionally show a list of dictionaries available in -preset search paths on startup.</para> +<para>Some options as well as dictionaries to load on start by default can be +specified in a configuration file. See the README for an example.</para>  </refsect1>  <refsect1><title>Options</title>  <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>  		<term><option>-h</option>, <option>--help</option></term>  		<listitem><para>  		show help options diff --git a/src/sdtui.c b/src/sdtui.c index 6c4acbb..4487df3 100644 --- a/src/sdtui.c +++ b/src/sdtui.c @@ -1986,7 +1986,7 @@ G_GNUC_END_IGNORE_DEPRECATIONS  	GError *error = NULL;  	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);  	g_option_group_add_entries (group, entries);  	g_option_group_set_translation_domain (group, GETTEXT_PACKAGE); | 
