Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Usage example: `linklttng:lttng-enable-channel(1)`.
+### linkgenoptions
+
+The linkgenoptions macro is used to link to the general options
+section of the `lttng(1)` command.
+
+Usage example: `See the linkgenoptions:(general options).`.
+
+
### option
The option macro is used to write a command-line option which is
# Usage: linklttng:command(manpage-section)
(?su)[\\]?(?P<name>linklttng):(?P<target>\S*?)\((?P<attrlist>.*?)\)=
+# linkgenoptions macro
+#
+# Usage: linkgenoptions:(text)
+(?su)[\\]?(?P<name>linkgenoptions):\((?P<text>.*?)\)=
+
# no link option macro
#
# Usage: nloption:--option-name
{0#</citerefentry>}
endif::backend-docbook[]
+# linkgenoptions macro expansions
+ifdef::backend-docbook[]
+[linkgenoptions-inlinemacro]
+{text}
+endif::backend-docbook[]
+
# option macro expansions
ifdef::backend-docbook[]
[option-inlinemacro]