Message ID | 20190705121421.17af9096@gandalf.local.home (mailing list archive) |
---|---|
State | Accepted |
Commit | eba17becd5f0181cb66919815b3fefdf4563bb4b |
Headers | show |
Series | trace-cmd: Add git version string to trace-cmd --version output | expand |
diff --git a/tracecmd/trace-usage.c b/tracecmd/trace-usage.c index 406384c4..2532d92a 100644 --- a/tracecmd/trace-usage.c +++ b/tracecmd/trace-usage.c @@ -314,8 +314,8 @@ void usage(char **argv) p = basename(arg); printf("\n" - "%s version %s\n\n" - "usage:\n", p, VERSION_STRING); + "%s version %s (%s)\n\n" + "usage:\n", p, VERSION_STRING, VERSION_GIT); if (argv[1]) help = find_help(argv[1]);