From 1572d5cad495d008a6068a2ac147ee6591346093 Mon Sep 17 00:00:00 2001 From: Connor Imes Date: Sun, 5 May 2024 10:38:33 -0400 Subject: [PATCH] rapl-configure: add one-line summary to help output --- rapl-configure/rapl-configure.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rapl-configure/rapl-configure.c b/rapl-configure/rapl-configure.c index 173d52d..5848d69 100644 --- a/rapl-configure/rapl-configure.c +++ b/rapl-configure/rapl-configure.c @@ -79,7 +79,8 @@ static void print_usage(int exit_code) { ""; #endif // RAPLCAP_msr fprintf(exit_code ? stderr : stdout, - "Usage: %s [OPTION]...\n" + "Usage: %s [OPTION]...\n\n" + "Get or set Intel RAPL configurations.\n\n" "Options:\n" " -h, --help Print this message and exit\n" " -n, --npackages Print the number of packages found and exit\n"