diff --git a/README.md b/README.md index ac5b2d3e260bac2aa4c14bbd0e50e386b7a53110..954e7e00f6ec67b84e59a810f1a87b5595eb2cb7 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ SENSORS: system load -d|--net-dev <net_dev> network monitoring (if network_device is X, tries to detect it automatically) --r|--rapl +-r|--intel-rapl RAPL -c|--cpu-temp processor temperature diff --git a/src/amd_rapl.h b/src/amd_rapl.h index 1a16db8da6835c213e07db261977f840b428e453..e58cc16498f4b7553f9a7ebf6b6f40e8cd4ee288 100644 --- a/src/amd_rapl.h +++ b/src/amd_rapl.h @@ -34,7 +34,7 @@ Sensor amd_rapl = { Optparse amd_rapl_opt[1] = { { .longname = "amd-rapl", - .shortname = 'a', + .shortname = 'r', .argtype = OPTPARSE_NONE, .usage_arg = NULL, .usage_msg = "AMD RAPL", diff --git a/src/rapl.h b/src/rapl.h index a02624dceee4ac376b2d1333a654c416327e37c1..7720f071a4be6b98dad5cb72d537bd69a430799d 100644 --- a/src/rapl.h +++ b/src/rapl.h @@ -33,11 +33,11 @@ Sensor rapl = { Optparse rapl_opt[1] = { { - .longname = "rapl", + .longname = "intel-rapl", .shortname = 'r', .argtype = OPTPARSE_NONE, .usage_arg = NULL, - .usage_msg = "RAPL", + .usage_msg = "INTEL RAPL", }, };