mirror of
https://invent.kde.org/graphics/okular
synced 2024-10-02 14:14:10 +00:00
Sync man page commands with the Command Line Options sections of the Okular handbook
This commit is contained in:
parent
badeec3f1a
commit
97b380b4bc
|
@ -46,7 +46,7 @@ is aimed to show documents in different formats.</para>
|
|||
<varlistentry>
|
||||
<term><option>-p, --page <replaceable>number</replaceable></option></term>
|
||||
<listitem>
|
||||
<para>Open a given page in the document.</para>
|
||||
<para>Open a page with a given number in the document.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
|
@ -88,7 +88,7 @@ is aimed to show documents in different formats.</para>
|
|||
<varlistentry>
|
||||
<term><option>--find <replaceable>string</replaceable></option></term>
|
||||
<listitem>
|
||||
<para>Find a string on the text.</para>
|
||||
<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 okular command.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
|
|
|
@ -73,7 +73,7 @@ int main(int argc, char **argv)
|
|||
parser.addOption(QCommandLineOption(QStringList() << QStringLiteral("unique"), i18n("\"Unique instance\" control")));
|
||||
parser.addOption(QCommandLineOption(QStringList() << QStringLiteral("noraise"), i18n("Not raise window")));
|
||||
parser.addOption(QCommandLineOption(QStringList() << QStringLiteral("find"), i18n("Find a string on the text"), QStringLiteral("string")));
|
||||
parser.addOption(QCommandLineOption(QStringList() << QStringLiteral("editor-cmd"), i18n("sets the external editor command"), QStringLiteral("string")));
|
||||
parser.addOption(QCommandLineOption(QStringList() << QStringLiteral("editor-cmd"), i18n("Sets the external editor command"), QStringLiteral("string")));
|
||||
parser.addPositionalArgument(QStringLiteral("urls"), i18n("Documents to open. Specify '-' to read from stdin."));
|
||||
|
||||
parser.process(app);
|
||||
|
|
Loading…
Reference in a new issue