X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=doc%2Fman%2Flttng-add-context.1.txt;h=d9776b7b649f284a46984ffe0de0f1d688ac2d85;hp=26df16d2b37fb102587120dcfa6c2ec784b65b43;hb=ce19b9ed9bd9591bd0c4d1998780082a490991fd;hpb=2e4886b88e065d5d6b089d3d4d92ef06434fe5d1 diff --git a/doc/man/lttng-add-context.1.txt b/doc/man/lttng-add-context.1.txt index 26df16d2b..d9776b7b6 100644 --- a/doc/man/lttng-add-context.1.txt +++ b/doc/man/lttng-add-context.1.txt @@ -12,7 +12,7 @@ SYNOPSIS Add context fields to a channel: [verse] -*lttng* ['GENERAL OPTIONS'] *add-context* +*lttng* ['linkgenoptions:(GENERAL OPTIONS)'] *add-context* (option:--kernel | option:--userspace | option:--jul | option:--log4j) [option:--session='SESSION'] [option:--channel='CHANNEL'] option:--type='TYPE' [option:--type='TYPE']... @@ -20,7 +20,7 @@ Add context fields to a channel: List the available context fields: [verse] -*lttng* ['GENERAL OPTIONS'] *add-context* --list +*lttng* ['linkgenoptions:(GENERAL OPTIONS)'] *add-context* --list DESCRIPTION @@ -59,6 +59,10 @@ with: 'TYPE':: Context type name. +NOTE: Make sure to **single-quote** the type when running the command +from a shell, as `$` is a special character for variable substitution in +most shells. + Use the option:--list option without other arguments to list the available context field names.