diff mbox series

v4l2-ctl: Fix typo in --list-patterns help text

Message ID 20220627171418.43854-1-umang.jain@ideasonboard.com (mailing list archive)
State New, archived
Headers show
Series v4l2-ctl: Fix typo in --list-patterns help text | expand

Commit Message

Umang Jain June 27, 2022, 5:14 p.m. UTC
s/stream-pattern/stream-out-pattern/

Signed-off-by: Umang Jain <umang.jain@ideasonboard.com>
---
 utils/v4l2-ctl/v4l2-ctl-streaming.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Kieran Bingham June 30, 2022, 2:32 p.m. UTC | #1
Hi Umang,

Quoting Umang Jain (2022-06-27 18:14:18)
> s/stream-pattern/stream-out-pattern/
> 
> Signed-off-by: Umang Jain <umang.jain@ideasonboard.com>
> ---
>  utils/v4l2-ctl/v4l2-ctl-streaming.cpp | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/utils/v4l2-ctl/v4l2-ctl-streaming.cpp b/utils/v4l2-ctl/v4l2-ctl-streaming.cpp
> index 7f6482d6..05de44d7 100644
> --- a/utils/v4l2-ctl/v4l2-ctl-streaming.cpp
> +++ b/utils/v4l2-ctl/v4l2-ctl-streaming.cpp
> @@ -330,7 +330,7 @@ void streaming_usage()
>                "  --stream-out-dmabuf\n"
>                "                     output video using dmabuf [VIDIOC_(D)QBUF]\n"
>                "                     Requires a corresponding --stream-mmap option.\n"
> -              "  --list-patterns    list available patterns for use with --stream-pattern.\n"
> +              "  --list-patterns    list available patterns for use with --stream-out-pattern.\n"

At the least, according to `v4l2-ctl --help-all | grep -- -pattern` this
looks correct ...

>> $ v4l2-ctl --help-all | grep -- -pattern
>>   --stream-out-pattern <count>
>>   --list-patterns    list available patterns for use with --stream-pattern.

So 

Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>

>                "  --list-buffers     list all video buffers [VIDIOC_QUERYBUF]\n"
>                "  --list-buffers-out list all video output buffers [VIDIOC_QUERYBUF]\n"
>                "  --list-buffers-vbi list all VBI buffers [VIDIOC_QUERYBUF]\n"
> -- 
> 2.31.1
>
diff mbox series

Patch

diff --git a/utils/v4l2-ctl/v4l2-ctl-streaming.cpp b/utils/v4l2-ctl/v4l2-ctl-streaming.cpp
index 7f6482d6..05de44d7 100644
--- a/utils/v4l2-ctl/v4l2-ctl-streaming.cpp
+++ b/utils/v4l2-ctl/v4l2-ctl-streaming.cpp
@@ -330,7 +330,7 @@  void streaming_usage()
 	       "  --stream-out-dmabuf\n"
 	       "                     output video using dmabuf [VIDIOC_(D)QBUF]\n"
 	       "                     Requires a corresponding --stream-mmap option.\n"
-	       "  --list-patterns    list available patterns for use with --stream-pattern.\n"
+	       "  --list-patterns    list available patterns for use with --stream-out-pattern.\n"
 	       "  --list-buffers     list all video buffers [VIDIOC_QUERYBUF]\n"
 	       "  --list-buffers-out list all video output buffers [VIDIOC_QUERYBUF]\n"
 	       "  --list-buffers-vbi list all VBI buffers [VIDIOC_QUERYBUF]\n"