From e85eccc8d6ec0064d723a08260f23936e8143e2e Mon Sep 17 00:00:00 2001 From: Philippe Proulx Date: Wed, 11 Nov 2015 15:44:03 -0500 Subject: [PATCH] doc/man: create lttng-version(1) and update/fix content MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Philippe Proulx Signed-off-by: Jérémie Galarneau --- doc/man/Makefile.am | 3 ++- doc/man/lttng-version.1.txt | 40 +++++++++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+), 1 deletion(-) create mode 100644 doc/man/lttng-version.1.txt diff --git a/doc/man/Makefile.am b/doc/man/Makefile.am index 90d7f9f03..a6ce6cd53 100644 --- a/doc/man/Makefile.am +++ b/doc/man/Makefile.am @@ -15,7 +15,8 @@ MAN1_NAMES = \ lttng-save \ lttng-load \ lttng-start \ - lttng-stop + lttng-stop \ + lttng-version MAN3_NAMES = MAN8_NAMES = MAN1_NO_ASCIIDOC_NAMES = lttng-crash diff --git a/doc/man/lttng-version.1.txt b/doc/man/lttng-version.1.txt new file mode 100644 index 000000000..8c5148f1b --- /dev/null +++ b/doc/man/lttng-version.1.txt @@ -0,0 +1,40 @@ +lttng-version(1) +================ + + +NAME +---- +lttng-version - Get the version of LTTng-tools + + +SYNOPSIS +-------- +[verse] +*lttng* ['GENERAL OPTIONS'] *version* + + +DESCRIPTION +----------- +The `lttng version` command outputs the version of LTTng-tools. + +The output of `lttng version` is broke down into the following parts: + +* Major, minor, and patch numbers +* Git commit information, if available +* Release name with its description +* LTTng project's website URL +* License information + + +include::common-cmd-options-head.txt[] + + +include::common-cmd-help-options.txt[] + + +include::common-cmd-footer.txt[] + + +SEE ALSO +-------- +linklttng:lttng(1) -- 2.34.1