X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=src%2Fbin%2Flttng%2Flttng.c;h=d4d40f07722ef8aad0097164af92456454418f90;hb=262c79ae38080b98923e64f40c2c0788a452e410;hp=3227499f532fefdd3ed378e8d8d171ce7e40be4a;hpb=88564da09144e7fd1202fe79aff1371478a69ecf;p=lttng-tools.git 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;