From aafa7453889416530726c3cc5ce35d41ff727a36 Mon Sep 17 00:00:00 2001 From: Daniel Verkamp Date: Mon, 11 Jun 2018 13:47:09 -0700 Subject: [PATCH] app: reword -t option help string Avoid mentioning "trace"; the -t flag controls SPDK_DEBUGLOG output, which used to be called TRACELOG, but now the mention of "trace" is just misleading and causes confusion with tracepoints. Change-Id: I537d08d8ca216be0240b318918aa22127f9d636d Signed-off-by: Daniel Verkamp Reviewed-on: https://review.gerrithub.io/414701 Tested-by: SPDK Automated Test System Reviewed-by: Ben Walker Reviewed-by: Jim Harris --- lib/log/log_flags.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/log/log_flags.c b/lib/log/log_flags.c index bd0f3a5513..8d9983a9e6 100644 --- a/lib/log/log_flags.c +++ b/lib/log/log_flags.c @@ -169,7 +169,7 @@ spdk_tracelog_usage(FILE *f, const char *trace_arg) #ifdef DEBUG struct spdk_trace_flag *flag; - fprintf(f, " %s flag enable trace flag (all", trace_arg); + fprintf(f, " %s flag enable debug log flag (all", trace_arg); TAILQ_FOREACH(flag, &g_trace_flags, tailq) { fprintf(f, ", %s", flag->name); @@ -177,7 +177,7 @@ spdk_tracelog_usage(FILE *f, const char *trace_arg) fprintf(f, ")\n"); #else - fprintf(f, " %s flag enable trace flag (not supported - must rebuild with CONFIG_DEBUG=y)\n", + fprintf(f, " %s flag enable debug log flag (not supported - must rebuild with CONFIG_DEBUG=y)\n", trace_arg); #endif }