lttng: remove usage strings from commands
[lttng-tools.git] / src / bin / lttng / commands / calibrate.c
index ba3350fb60eeb8e6a982a6ffe26dc6aea0edeca5..95a03d2129dfdde54fbd56cd5e4c982e20d4d7d9 100644 (file)
@@ -62,24 +62,6 @@ static struct poptOption long_options[] = {
        {0, 0, 0, 0, 0, 0, 0}
 };
 
-/*
- * usage
- */
-static void usage(FILE *ofp)
-{
-       fprintf(ofp, "usage: lttng calibrate [-k|-u] [OPTIONS]\n");
-       fprintf(ofp, "\n");
-       fprintf(ofp, "Options:\n");
-       fprintf(ofp, "  -h, --help               Show this help\n");
-       fprintf(ofp, "      --list-options       Simple listing of options\n");
-       fprintf(ofp, "  -k, --kernel             Apply to the kernel tracer\n");
-       fprintf(ofp, "  -u, --userspace          Apply to the user-space tracer\n");
-       fprintf(ofp, "\n");
-       fprintf(ofp, "Calibrate options:\n");
-       fprintf(ofp, "    --function             Dynamic function entry/return probe (default)\n");
-       fprintf(ofp, "\n");
-}
-
 /*
  * Calibrate LTTng.
  *
@@ -202,7 +184,6 @@ int cmd_calibrate(int argc, const char **argv)
                        list_cmd_options(stdout, long_options);
                        goto end;
                default:
-                       usage(stderr);
                        ret = CMD_UNDEFINED;
                        goto end;
                }
This page took 0.023328 seconds and 4 git commands to generate.