From: Mathieu Desnoyers Date: Sat, 6 Aug 2011 15:05:04 +0000 (-0400) Subject: Make "please specify tracer" comment more helpful X-Git-Tag: v2.0-pre7~4 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=048e21597c85bd22503e7971fad045b607905d38;p=lttng-tools.git Make "please specify tracer" comment more helpful Signed-off-by: Mathieu Desnoyers --- diff --git a/lttng/commands/add_context.c b/lttng/commands/add_context.c index 5756684ca..eb88f2465 100644 --- a/lttng/commands/add_context.c +++ b/lttng/commands/add_context.c @@ -393,7 +393,7 @@ static int add_context(void) ret = CMD_NOT_IMPLEMENTED; goto error; } else { - ERR("Please specify a tracer (kernel or user-space)"); + ERR("Please specify a tracer (--kernel or --userspace)"); goto error; } } diff --git a/lttng/commands/calibrate.c b/lttng/commands/calibrate.c index 40d1c45c2..76227e27e 100644 --- a/lttng/commands/calibrate.c +++ b/lttng/commands/calibrate.c @@ -136,7 +136,7 @@ static int calibrate_lttng(void) ret = CMD_NOT_IMPLEMENTED; goto end; } else { - ERR("Please specify a tracer (kernel or user-space)"); + ERR("Please specify a tracer (--kernel or --userspace)"); goto end; } end: diff --git a/lttng/commands/disable_channels.c b/lttng/commands/disable_channels.c index c23019b45..92cd2a58e 100644 --- a/lttng/commands/disable_channels.c +++ b/lttng/commands/disable_channels.c @@ -110,7 +110,7 @@ static int disable_channels(void) ret = CMD_NOT_IMPLEMENTED; goto error; } else { - ERR("Please specify a tracer (kernel or user-space)"); + ERR("Please specify a tracer (--kernel or --userspace)"); goto error; } diff --git a/lttng/commands/disable_events.c b/lttng/commands/disable_events.c index 952b2b65c..9d73ff580 100644 --- a/lttng/commands/disable_events.c +++ b/lttng/commands/disable_events.c @@ -143,7 +143,7 @@ static int disable_events(void) ret = CMD_NOT_IMPLEMENTED; goto error; } else { - ERR("Please specify a tracer (kernel or user-space)"); + ERR("Please specify a tracer (--kernel or --userspace)"); goto error; } diff --git a/lttng/commands/enable_channels.c b/lttng/commands/enable_channels.c index efd075b95..0bca44a6b 100644 --- a/lttng/commands/enable_channels.c +++ b/lttng/commands/enable_channels.c @@ -138,7 +138,7 @@ static int enable_channel(void) ret = CMD_NOT_IMPLEMENTED; goto error; } else { - ERR("Please specify a tracer (kernel or user-space)"); + ERR("Please specify a tracer (--kernel or --userspace)"); goto error; } diff --git a/lttng/commands/enable_events.c b/lttng/commands/enable_events.c index b99b7f4c9..0f376ad09 100644 --- a/lttng/commands/enable_events.c +++ b/lttng/commands/enable_events.c @@ -275,7 +275,7 @@ static int enable_events(void) ret = CMD_NOT_IMPLEMENTED; goto error; } else { - ERR("Please specify a tracer (kernel or user-space)"); + ERR("Please specify a tracer (--kernel or --userspace)"); goto error; }