From: Mathieu Desnoyers Date: Thu, 18 Jul 2013 14:25:43 +0000 (-0400) Subject: Manpage: cleanup layout of set-session X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=commitdiff_plain;h=7c96a09685627a1cf7c105162cf031b78393a90a Manpage: cleanup layout of set-session Signed-off-by: Mathieu Desnoyers --- diff --git a/doc/man/lttng.1 b/doc/man/lttng.1 index f98a24c1a..d87280283 100644 --- a/doc/man/lttng.1 +++ b/doc/man/lttng.1 @@ -673,23 +673,23 @@ List available domain(s) .RE .PP -.IP "\fBset-session\fP NAME" -.nf +.PP +\fBset-session\fP NAME [OPTIONS] +.RS Set current session name Will change the session name in the .lttngrc file. -.fi .B OPTIONS: -.nf -\-h, \-\-help - Show summary of possible options and commands. -\-\-list-options - Simple listing of options -.fi - -.IP +.TP +.BR "\-h, \-\-help" +Show summary of possible options and commands. +.TP +.BR "\-\-list-options" +Simple listing of options +.RE +.PP .IP "\fBsnapshot\fP ACTION" .nf diff --git a/src/bin/lttng/commands/set_session.c b/src/bin/lttng/commands/set_session.c index 1f79d6cf0..4238016e4 100644 --- a/src/bin/lttng/commands/set_session.c +++ b/src/bin/lttng/commands/set_session.c @@ -45,7 +45,7 @@ static struct poptOption long_options[] = { */ static void usage(FILE *ofp) { - fprintf(ofp, "usage: lttng set-session NAME\n"); + fprintf(ofp, "usage: lttng set-session NAME [OPTIONS]\n"); fprintf(ofp, "\n"); fprintf(ofp, "Options:\n"); fprintf(ofp, " -h, --help Show this help\n");