[graphics/okular] doc: Add editor-cmd option to the docs

Yuri Chornoivan null at kde.org
Sat Feb 19 21:08:15 GMT 2022


Git commit 8ea9f482ce44f66abeed3eda46034afb5a5501ba by Yuri Chornoivan.
Committed on 19/02/2022 at 21:08.
Pushed by yurchor into branch 'master'.

Add editor-cmd option to the docs

M  +6    -1    doc/index.docbook
M  +10   -3    doc/man-okular.1.docbook

https://invent.kde.org/graphics/okular/commit/8ea9f482ce44f66abeed3eda46034afb5a5501ba

diff --git a/doc/index.docbook b/doc/index.docbook
index 0da874bf2..d788e6df4 100644
--- a/doc/index.docbook
+++ b/doc/index.docbook
@@ -32,7 +32,7 @@ Context menu actions like Rename Bookmarks etc.)
 			<!-- TRANS:ROLES_OF_TRANSLATORS -->
 		</authorgroup>
 		<legalnotice>&FDLNotice;</legalnotice>
-		<date>2022-02-02</date>
+		<date>2022-02-19</date>
 		<releaseinfo>22.04</releaseinfo>
 		<!-- Abstract about this handbook -->
 		<abstract>
@@ -1371,6 +1371,11 @@ Context menu actions like Rename Bookmarks etc.)
 				<option>--find <replaceable>string</replaceable></option></userinput></term>
 				<listitem><para>Tries to find and highlight a given string in the document. Only works if just one document is given as an argument of the <userinput><command>okular</command></userinput> command.</para></listitem>
 				</varlistentry>
+                <varlistentry>
+				<term><userinput><command>okular</command>
+				<option>--editor-cmd <replaceable>string</replaceable></option></userinput></term>
+				<listitem><para>Sets the external editor command. You cannot set the editor command in an already running &okular; instance. Please note that <option>--unique</option> is not supported when setting the editor command at the commandline.</para></listitem>
+				</varlistentry>
 			</variablelist>
 		    </sect2>
 		</sect1>
diff --git a/doc/man-okular.1.docbook b/doc/man-okular.1.docbook
index 6f851a944..d106d1615 100644
--- a/doc/man-okular.1.docbook
+++ b/doc/man-okular.1.docbook
@@ -10,9 +10,9 @@
 <author><firstname>Yuri</firstname><surname>Chornoivan</surname>
 <contrib>Okular man page.</contrib>
 <email>yurchor at ukr.net</email></author>
-<date>2019-02-14</date>
-<releaseinfo>Okular 1.7</releaseinfo>
-<productname>KDE Applications</productname>
+<date>2022-02-19</date>
+<releaseinfo>Okular 22.04</releaseinfo>
+<productname>KDE Gear</productname>
 </refentryinfo>
 
 <refmeta>
@@ -91,6 +91,13 @@ is aimed to show documents in different formats.</para>
 <para>Find a string on the text.</para>
 </listitem>
 </varlistentry>
+
+<varlistentry>
+<term><option>--editor-cmd <replaceable>string</replaceable></option></term>
+<listitem>
+<para>Sets the external editor command. You cannot set the editor command in an already running Okular instance. Please note that <option>--unique</option> is not supported when setting the editor command at the commandline.</para>
+</listitem>
+</varlistentry>
 </variablelist>
 </refsect1>
 


More information about the kde-doc-english mailing list