X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=doc%2Fman%2Flttng.1;h=6e0efb73abeca4181478c1bcc43188c9e11e1c0f;hb=31ea48462f529be003231ca0e14c5b882cd7d66e;hp=21b6279d0f2a48d18363d4ed611b62f97bf67009;hpb=4d2a627b679e1f5be7761c71db9e118782cf7627;p=lttng-tools.git diff --git a/doc/man/lttng.1 b/doc/man/lttng.1 index 21b6279d0..6e0efb73a 100644 --- a/doc/man/lttng.1 +++ b/doc/man/lttng.1 @@ -104,9 +104,7 @@ contexts. If no channel is given (\-c), the context is added to all channels that were already enabled. If the session has no channel, a default channel is created. -If \fB\-c, \-\-channel\fP is omitted, but a non-default channel already -exists within the session, an error is returned. Otherwise the context -will be added only to the given channel (\-c). +Otherwise the context will be added only to the given channel (\-c). If \fB\-s, \-\-session\fP is omitted, the session name is taken from the .lttngrc file.