Make "please specify tracer" comment more helpful
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sat, 6 Aug 2011 15:05:04 +0000 (11:05 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sat, 6 Aug 2011 15:05:04 +0000 (11:05 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
lttng/commands/add_context.c
lttng/commands/calibrate.c
lttng/commands/disable_channels.c
lttng/commands/disable_events.c
lttng/commands/enable_channels.c
lttng/commands/enable_events.c

index 5756684caedb85299d054590b7367c9fa9fbf1c6..eb88f246517ed2e387e47846525fdd418a84c2c5 100644 (file)
@@ -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;
                }
        }
index 40d1c45c2d83bebf3dc4fc5c2c823dd7ab085814..76227e27e20f4bd3228a46ea40b0f72c7cfb44af 100644 (file)
@@ -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:
index c23019b45fc67d430e40f87602031526e48c0b61..92cd2a58e4f39b510dae13598765a469b7346e53 100644 (file)
@@ -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;
                }
 
index 952b2b65c7a9ae82b57c2ca9e1b695abec7d4e5e..9d73ff58021c8c26ccb6d5d6eeb87e99a0b30020 100644 (file)
@@ -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;
                }
 
index efd075b95e29c7169fe9c15ee59412714dc42b65..0bca44a6b3eb6784dcc410737761d36cf334d27e 100644 (file)
@@ -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;
                }
 
index b99b7f4c942294784f577ea8465009aa2b0134c0..0f376ad09230c759ea6d0d525c9432e3fe698f07 100644 (file)
@@ -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;
                }
 
This page took 0.037918 seconds and 4 git commands to generate.