Skip to contentSkip to conversation

rt-tests: pi_stress: Fix "id" in help

PATCH New John Kacur 1 participant 1 message Sep 17, 2021

lore
Share & tools
lore

John Kacur

author
#0 lore raw

PATCH 1/1 rt-tests: pi_stress: Fix "id" in help

commit 3ef71ab4c40caea1fa70000a2ede0d8df8690c98
made some changes to the online help and man page

The --sched policy=deadline option requires id=[high|med|low] Unfortunately the \tid (slash t) got transformed to "tid"

Fix this by replacing with "id" as originally intended.

---
 src/pi_tests/pi_stress.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
src/pi_tests/pi_stress.c +1 -1
index 9f4ffa49e926..cba1ad92ac2d 100644
@@ -996,7 +996,7 @@ void usage(int error)
 	       "-q       --quiet           suppress running output\n"
 	       "-r       --rr              use SCHED_RR for test threads [SCHED_FIFO]\n"
 	       "-s OPTS  --sched OPTS      scheduling options per thread type:\n"
-	       "   tid=[high|med|low]      select thread\n"
+	       "   id=[high|med|low]      select thread\n"
 	       "   ,policy=[fifo,rr]       scheduling class [SCHED_FIFO, SCHED_RR]\n"
 	       "     ,priority=N           scheduling priority\n"
 	       "   ,policy=[deadline]      scheduling class [DEADLINE]\n"
Signature · 1 line
2.31.1