From a2d6893b27b845f9f545f1ef31f8835a80100e99 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Fri, 16 Aug 2013 17:18:12 -0400 Subject: [PATCH] Fix: typos in --help and manpage Fixes #604 Signed-off-by: Mathieu Desnoyers --- doc/man/lttng.1 | 2 +- src/bin/lttng/commands/create.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/man/lttng.1 b/doc/man/lttng.1 index 6e0efb73a..0a74f9c50 100644 --- a/doc/man/lttng.1 +++ b/doc/man/lttng.1 @@ -247,7 +247,7 @@ Simple listing of options Specify output path for traces .TP .BR "\-\-no-output" -Traces will not be outputed +Traces will not be outputted .TP .BR "\-\-snapshot" Set the session in snapshot mode. Created in no-output mode and uses the diff --git a/src/bin/lttng/commands/create.c b/src/bin/lttng/commands/create.c index dfaed2712..23a969672 100644 --- a/src/bin/lttng/commands/create.c +++ b/src/bin/lttng/commands/create.c @@ -85,8 +85,8 @@ static void usage(FILE *ofp) fprintf(ofp, " -h, --help Show this help\n"); fprintf(ofp, " --list-options Simple listing of options\n"); fprintf(ofp, " -o, --output PATH Specify output path for traces\n"); - fprintf(ofp, " --no-output Traces will not be outputed\n"); - fprintf(ofp, " --snasphot Set the session in snapshot mode.\n"); + fprintf(ofp, " --no-output Traces will not be outputted\n"); + fprintf(ofp, " --snapshot Set the session in snapshot mode.\n"); fprintf(ofp, " Created in no-output mode and uses the URL,\n"); fprintf(ofp, " if one, as the default snapshot output.\n"); fprintf(ofp, " Every channel will be set in overwrite mode\n"); -- 2.34.1