[PATCH] umr: Fix a couple of options in the help output

Luben Tuikov luben.tuikov at amd.com
Wed Nov 30 15:46:20 UTC 2022


The man page was updated in the listed changes below, but the help output was
forgotten.

Cc: Tom StDenis <tom.stdenis at amd.com>
Fixes: 04393f2a68fd88 ("umr: Add support for "--ppt-read"")
Fixes: dc5efe99e19028 ("umr: Add command line support for "--gpu-metrics"")
Signed-off-by: Luben Tuikov <luben.tuikov at amd.com>
---
 src/app/main.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/app/main.c b/src/app/main.c
index aa2152f977367e..adcbcb17fcd0ef 100644
--- a/src/app/main.c
+++ b/src/app/main.c
@@ -1065,9 +1065,9 @@ printf(
 "\n\t--clock-high, -ch\n\t\tSet power_dpm_force_performance_level to high.\n"
 "\n\t--clock-low, -cl\n\t\tSet power_dpm_force_performance_level to low.\n"
 "\n\t--clock-auto, -ca\n\t\tSet power_dpm_force_performance_level to auto.\n"
-"\n\t--ppt_read, -pptr [ppt_field_name]\n\t\tRead powerplay table value and print it to stdout."
+"\n\t--ppt-read, -pptr [ppt_field_name]\n\t\tRead powerplay table value and print it to stdout."
 	"\n\t\tThis command will print all the powerplay table information or the corresponding string in powerplay table.\n"
-"\n\t--gpu_metrics, -gm"
+"\n\t--gpu-metrics, -gm"
 	"\n\t\tPrint the GPU metrics table for the device."
 "\n\t--power, -p \n\t\tRead the conetent of clocks, temperature, gpu loading at runtime"
 	"\n\t\toptions 'use_colour' to colourize output \n"

base-commit: 0fd552b95b5ccca7f28b5e767d830b47037a5acd
-- 
2.39.0.rc0



More information about the amd-gfx mailing list