Add editor-cmd option to the docs

This commit is contained in:
Yuri Chornoivan 2022-02-19 23:08:02 +02:00
parent 147a638619
commit 8ea9f482ce
2 changed files with 16 additions and 4 deletions

View file

@ -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>

View file

@ -10,9 +10,9 @@
<author><firstname>Yuri</firstname><surname>Chornoivan</surname>
<contrib>Okular man page.</contrib>
<email>yurchor@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>