Browse Source

Update documentation

Přemysl Janouch 2 years ago
parent
commit
ee37895206
Signed by: Přemysl Janouch <p.janouch@gmail.com> GPG Key ID: B715679E3A361BE6
2 changed files with 4 additions and 11 deletions
  1. 3
    10
      docs/sdtui.1.xml
  2. 1
    1
      src/sdtui.c

+ 3
- 10
docs/sdtui.1.xml View File

@@ -26,7 +26,7 @@
26 26
 		<arg choice="opt" rep="repeat">
27 27
 			<option><replaceable>OPTION</replaceable></option>
28 28
 		</arg>
29
-		<arg choice="plain">
29
+		<arg choice="opt" rep="repeat">
30 30
 			<replaceable>dictionary.ifo</replaceable>
31 31
 		</arg>
32 32
 	</cmdsynopsis>
@@ -39,19 +39,12 @@ for viewing translation dictionaries, using a simple curses-based terminal UI.
39 39
 <para>The program expects to find on its command line the path to a dictionary's
40 40
 .ifo file, which contains further information required for loading the
41 41
 dictionary.</para>
42
-<para>Future versions may additionally show a list of dictionaries available in
43
-preset search paths on startup.</para>
42
+<para>Some options as well as dictionaries to load on start by default can be
43
+specified in a configuration file. See the README for an example.</para>
44 44
 </refsect1>
45 45
 
46 46
 <refsect1><title>Options</title>
47 47
 <variablelist>
48
-	<varlistentry>
49
-		<term><option>-w</option>, <option>--watch-primary-selection=TIMER</option></term>
50
-		<listitem><para>
51
-		watch the value of the primary selection for input
52
-		</para></listitem>
53
-	</varlistentry>
54
-
55 48
 	<varlistentry>
56 49
 		<term><option>-h</option>, <option>--help</option></term>
57 50
 		<listitem><para>

+ 1
- 1
src/sdtui.c View File

@@ -1986,7 +1986,7 @@ G_GNUC_END_IGNORE_DEPRECATIONS
1986 1986
 
1987 1987
 	GError *error = NULL;
1988 1988
 	GOptionContext *ctx = g_option_context_new
1989
-		(N_("[dictionary.ifo]... - StarDict terminal UI"));
1989
+		(N_("[dictionary.ifo...] - StarDict terminal UI"));
1990 1990
 	GOptionGroup *group = g_option_group_new ("", "", "", NULL, NULL);
1991 1991
 	g_option_group_add_entries (group, entries);
1992 1992
 	g_option_group_set_translation_domain (group, GETTEXT_PACKAGE);

Loading…
Cancel
Save