From: Mathieu Desnoyers Date: Thu, 18 Jul 2013 14:19:38 +0000 (-0400) Subject: Manpage: cleanup layout of disable-event X-Git-Tag: v2.3.0-rc2~25 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=c138a39bf483662d3aa07bf4740f265a1f1c0f13;p=lttng-tools.git Manpage: cleanup layout of disable-event Signed-off-by: Mathieu Desnoyers --- diff --git a/doc/man/lttng.1 b/doc/man/lttng.1 index 96251b798..2023cae94 100644 --- a/doc/man/lttng.1 +++ b/doc/man/lttng.1 @@ -586,8 +586,9 @@ Apply for the user-space tracer .RE .PP -.IP "\fBdisable-event\fP NAME[,NAME2,...] [\-k|\-u] [OPTIONS]" -.nf +.PP +\fBdisable-event\fP NAME[,NAME2,...] (\-k | \-u) [OPTIONS] +.RS Disable tracing event The event, once disabled, can be re-enabled by calling \fBlttng enable-event @@ -595,25 +596,30 @@ NAME\fP again. If \fB\-s, \-\-session\fP is omitted, the session name is taken from the .lttngrc file. -.fi .B OPTIONS: -.nf -\-h, \-\-help - Show summary of possible options and commands. -\-\-list-options - Simple listing of options -\-s, \-\-session NAME - Apply on session name -\-a, \-\-all-events - Disable all events. This does NOT disable "*" but rather - every known events of the session. -\-k, \-\-kernel - Apply for the kernel tracer -\-u, \-\-userspace - Apply for the user-space tracer -.fi +.TP +.BR "\-h, \-\-help" +Show summary of possible options and commands. +.TP +.BR "\-\-list-options" +Simple listing of options +.TP +.BR "\-s, \-\-session NAME" +Apply on session name +.TP +.BR "\-a, \-\-all-events" +Disable all events. This does NOT disable "*" but rather every known +events of the session. +.TP +.BR "\-k, \-\-kernel" +Apply for the kernel tracer +.TP +.BR "\-u, \-\-userspace" +Apply for the user-space tracer +.RE +.PP .IP "\fBlist\fP [\-k|\-u] [SESSION [SESSION_OPTIONS]]" .nf diff --git a/src/bin/lttng/commands/disable_events.c b/src/bin/lttng/commands/disable_events.c index c3a0f1da9..ac3d4a473 100644 --- a/src/bin/lttng/commands/disable_events.c +++ b/src/bin/lttng/commands/disable_events.c @@ -69,7 +69,7 @@ static struct poptOption long_options[] = { */ static void usage(FILE *ofp) { - fprintf(ofp, "usage: lttng disable-event NAME[,NAME2,...] [-k|-u] [OPTIONS]\n"); + fprintf(ofp, "usage: lttng disable-event NAME[,NAME2,...] (-k | -u) [OPTIONS]\n"); fprintf(ofp, "\n"); fprintf(ofp, "Options:\n"); fprintf(ofp, " -h, --help Show this help\n");