X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng%2Fcommands%2Fversion.c;h=7f69de3dd19a9a1ac438c455ee2231c628c5a93d;hp=a6bbd6aece3c7a9e674705ddda560dd4bcd0e39b;hb=32a6298d8929c91842c9a5c09f1a3f4660c32eec;hpb=a6ba4fe1a8217fd5cb9e286b4d88a9252c0d5d06 diff --git a/src/bin/lttng/commands/version.c b/src/bin/lttng/commands/version.c index a6bbd6aec..7f69de3dd 100644 --- a/src/bin/lttng/commands/version.c +++ b/src/bin/lttng/commands/version.c @@ -44,8 +44,9 @@ static struct poptOption long_options[] = { */ static void usage(FILE *ofp) { - fprintf(ofp, "usage: lttng version\n"); + fprintf(ofp, "usage: lttng version [OPTIONS]\n"); fprintf(ofp, "\n"); + fprintf(ofp, "Options:\n"); fprintf(ofp, " -h, --help Show this help\n"); fprintf(ofp, " --list-options Simple listing of options\n"); fprintf(ofp, "\n"); @@ -78,7 +79,8 @@ int cmd_version(int argc, const char **argv) } MSG("lttng version " VERSION " - " VERSION_NAME); - MSG("Web site: http://lttng.org/"); + MSG("\n" VERSION_DESCRIPTION "\n"); + MSG("Web site: http://lttng.org"); MSG("\nlttng is free software and under the GPL license and part LGPL"); end: