Add editor-cmd option to the docs

remotes/origin/work/fhek/foreground_background_text
Yuri Chornoivan 4 years ago
parent 147a638619
commit 8ea9f482ce
  1. 7
      doc/index.docbook
  2. 13
      doc/man-okular.1.docbook

@ -32,7 +32,7 @@ Context menu actions like Rename Bookmarks etc.)
<!-- TRANS:ROLES_OF_TRANSLATORS --> <!-- TRANS:ROLES_OF_TRANSLATORS -->
</authorgroup> </authorgroup>
<legalnotice>&FDLNotice;</legalnotice> <legalnotice>&FDLNotice;</legalnotice>
<date>2022-02-02</date> <date>2022-02-19</date>
<releaseinfo>22.04</releaseinfo> <releaseinfo>22.04</releaseinfo>
<!-- Abstract about this handbook --> <!-- Abstract about this handbook -->
<abstract> <abstract>
@ -1371,6 +1371,11 @@ Context menu actions like Rename Bookmarks etc.)
<option>--find <replaceable>string</replaceable></option></userinput></term> <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> <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>
<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> </variablelist>
</sect2> </sect2>
</sect1> </sect1>

@ -10,9 +10,9 @@
<author><firstname>Yuri</firstname><surname>Chornoivan</surname> <author><firstname>Yuri</firstname><surname>Chornoivan</surname>
<contrib>Okular man page.</contrib> <contrib>Okular man page.</contrib>
<email>yurchor@ukr.net</email></author> <email>yurchor@ukr.net</email></author>
<date>2019-02-14</date> <date>2022-02-19</date>
<releaseinfo>Okular 1.7</releaseinfo> <releaseinfo>Okular 22.04</releaseinfo>
<productname>KDE Applications</productname> <productname>KDE Gear</productname>
</refentryinfo> </refentryinfo>
<refmeta> <refmeta>
@ -91,6 +91,13 @@ is aimed to show documents in different formats.</para>
<para>Find a string on the text.</para> <para>Find a string on the text.</para>
</listitem> </listitem>
</varlistentry> </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> </variablelist>
</refsect1> </refsect1>

Loading…
Cancel
Save