[next] tools/counter: Fix spelling mistake "componend" -> "component"

Message ID 20231219133015.365943-1-colin.i.king@gmail.com
State New
Headers
Series [next] tools/counter: Fix spelling mistake "componend" -> "component" |

Commit Message

Colin Ian King Dec. 19, 2023, 1:30 p.m. UTC
  There are two spelling mistakes in the help text. Fix them.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
---
 tools/counter/counter_watch_events.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
  

Comments

Fabrice Gasnier Dec. 20, 2023, 3:52 p.m. UTC | #1
On 12/19/23 14:30, Colin Ian King wrote:
> There are two spelling mistakes in the help text. Fix them.
> 
> Signed-off-by: Colin Ian King <colin.i.king@gmail.com>

Hi Colin,
Reviewed-by: Fabrice Gasnier <fabrice.gasnier@foss.st.com>

Thanks for your patch,
Best Regards,
Fabrice
> ---
>  tools/counter/counter_watch_events.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/tools/counter/counter_watch_events.c b/tools/counter/counter_watch_events.c
> index 3898fe7e35ec..37d1b4b3e63d 100644
> --- a/tools/counter/counter_watch_events.c
> +++ b/tools/counter/counter_watch_events.c
> @@ -120,8 +120,8 @@ static void print_usage(void)
>  		"  evt_capture                (COUNTER_EVENT_CAPTURE)\n"
>  		"\n"
>  		"  chan=<n>                   channel <n> for this watch [default: 0]\n"
> -		"  id=<n>                     componend id <n> for this watch [default: 0]\n"
> -		"  parent=<n>                 componend parent <n> for this watch [default: 0]\n"
> +		"  id=<n>                     component id <n> for this watch [default: 0]\n"
> +		"  parent=<n>                 component parent <n> for this watch [default: 0]\n"
>  		"\n"
>  		"Example with two watched events:\n\n"
>  		"counter_watch_events -d \\\n"
  
William Breathitt Gray Dec. 20, 2023, 4:41 p.m. UTC | #2
On Tue, 19 Dec 2023 13:30:15 +0000, Colin Ian King wrote:
> There are two spelling mistakes in the help text. Fix them.
> 
> 

Applied, thanks!

[1/1] tools/counter: Fix spelling mistake "componend" -> "component"
      commit: 0647537df442e0ec818fc0bca347f13c11268202

William Breathitt Gray
  

Patch

diff --git a/tools/counter/counter_watch_events.c b/tools/counter/counter_watch_events.c
index 3898fe7e35ec..37d1b4b3e63d 100644
--- a/tools/counter/counter_watch_events.c
+++ b/tools/counter/counter_watch_events.c
@@ -120,8 +120,8 @@  static void print_usage(void)
 		"  evt_capture                (COUNTER_EVENT_CAPTURE)\n"
 		"\n"
 		"  chan=<n>                   channel <n> for this watch [default: 0]\n"
-		"  id=<n>                     componend id <n> for this watch [default: 0]\n"
-		"  parent=<n>                 componend parent <n> for this watch [default: 0]\n"
+		"  id=<n>                     component id <n> for this watch [default: 0]\n"
+		"  parent=<n>                 component parent <n> for this watch [default: 0]\n"
 		"\n"
 		"Example with two watched events:\n\n"
 		"counter_watch_events -d \\\n"