X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng%2Flttng.c;h=d4d40f07722ef8aad0097164af92456454418f90;hp=3227499f532fefdd3ed378e8d8d171ce7e40be4a;hb=849e5b7b78004e931773838ab3fe1a19c843c01c;hpb=4f061d4cf16d6625ed8649095ee6df6922b5262a diff --git a/src/bin/lttng/lttng.c b/src/bin/lttng/lttng.c index 3227499f5..d4d40f077 100644 --- a/src/bin/lttng/lttng.c +++ b/src/bin/lttng/lttng.c @@ -437,7 +437,10 @@ static int parse_args(int argc, char **argv) ret = 0; goto end; case 'v': - lttng_opt_verbose += 1; + /* There is only 3 possible level of verbosity. (-vvv) */ + if (lttng_opt_verbose < 3) { + lttng_opt_verbose += 1; + } break; case 'q': lttng_opt_quiet = 1;