See the updated README.md for details.
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
### option
-The option macro is used to write a command-line option.
+The option macro is used to write a command-line option which is
+defined in the same man page.
Usage example: `option:--no-output`, `option:--loglevel=TRACE_WARNING`
+### nloption
+
+Command-line option generating no link. This is used when talking
+about a generic option which is defined in many man pages.
+
+Usage example: `nloption:--jul`
+
+
+### genoption
+
+General (`lttng(1)`) command-line option, for generating the appropriate
+cross-man-page link.
+
+Usage example: `genoption:--group`, `genoption:--sessiond-path`
+
+
### not
The `:not:` macro is used to emphasize on _not_.
# Usage: linklttng:command(manpage-section)
(?su)[\\]?(?P<name>linklttng):(?P<target>\S*?)\((?P<attrlist>.*?)\)=
+# no link option macro
+#
+# Usage: nloption:--option-name
+(?su)[\\]?(?P<name>nloption):(?P<opt>--?[a-zA-Z0-9-]*)=
+
+# lttng(1) general option macro
+#
+# Usage: genoption:--option-name
+(?su)[\\]?(?P<name>genoption):(?P<opt>--?[a-zA-Z0-9-]*)=
+
# option macro
#
# Usage: option:--option-name
<literal>{opt}</literal>
endif::backend-docbook[]
+# no link option macro expansions
+ifdef::backend-docbook[]
+[nloption-inlinemacro]
+<literal>{opt}</literal>
+endif::backend-docbook[]
+
+# lttng(1) general option macro expansions
+ifdef::backend-docbook[]
+[genoption-inlinemacro]
+<literal>{opt}</literal>
+endif::backend-docbook[]
+
# not macro expansions
ifdef::backend-docbook[]
[not-inlinemacro]
`LTTNG_SESSIOND_PATH`::
Full session daemon binary path.
+
-The option:--sessiond-path option has precedence over this
+The genoption:--sessiond-path option has precedence over this
environment variable.
Note that the linklttng:lttng-create(1) command can spawn an LTTng
domains. For some commands, the domain needs to be specified with a
command-line option. The domain options are:
-option:-j, option:--jul::
+nloption:-j, nloption:--jul::
Apply command to the `java.util.logging` (JUL) domain.
-option:-k, option:--kernel::
+nloption:-k, nloption:--kernel::
Apply command to the Linux kernel domain.
-option:-l, option:--log4j::
+nloption:-l, nloption:--log4j::
Apply command to the Apache log4j 1.2 (Java) domain.
-option:-p, option:--python::
+nloption:-p, nloption:--python::
Apply command to the Python domain.
-option:-u, option:--userspace::
+nloption:-u, nloption:--userspace::
Apply command to the user space domain.
The LTTng session daemon is a tracing registry which allows the user to
COMMANDS
--------
-The following commands also have their own option:--help option.
+The following commands also have their own nloption:--help option.
Tracing sessions