[kdoctools] docs/kf5options: man: use <arg> instead of <group>
Pino Toscano
null at kde.org
Sat Oct 12 11:05:16 BST 2019
Git commit 4a7d60c5cc901284cce5483c7004ce566645262f by Pino Toscano.
Committed on 12/10/2019 at 10:02.
Pushed by pino into branch 'master'.
man: use <arg> instead of <group>
Since each is a simple option and not a group of options, <arg> is the
right tag.
This fixes the formatting of the options in the synopsis, so that
instead of "[--desktopfilefile name]" (missing space) now there is
"[--desktopfile file name]".
M +5 -5 docs/kf5options/man-kf5options.7.docbook
https://commits.kde.org/kdoctools/4a7d60c5cc901284cce5483c7004ce566645262f
diff --git a/docs/kf5options/man-kf5options.7.docbook b/docs/kf5options/man-kf5options.7.docbook
index 599cec3..de95cd4 100644
--- a/docs/kf5options/man-kf5options.7.docbook
+++ b/docs/kf5options/man-kf5options.7.docbook
@@ -25,11 +25,11 @@
<refsynopsisdiv>
<cmdsynopsis>
<command><replaceable>KDE application</replaceable></command>
-<group choice="opt"><option>-h, --help</option></group>
-<group choice="opt"><option>-v, --version</option></group>
-<group choice="opt"><option>--author</option></group>
-<group choice="opt"><option>--license</option></group>
-<group choice="opt"><option>--desktopfile</option> <replaceable>file name</replaceable> </group>
+<arg choice="opt"><option>-h, --help</option></arg>
+<arg choice="opt"><option>-v, --version</option></arg>
+<arg choice="opt"><option>--author</option></arg>
+<arg choice="opt"><option>--license</option></arg>
+<arg choice="opt"><option>--desktopfile</option> <replaceable>file name</replaceable></arg>
</cmdsynopsis>
</refsynopsisdiv>
More information about the kde-doc-english
mailing list