[v7,1/8] v4l2-ctl: Improve sub-device options help text
Commit Message
Explicitly mention that all the parameters to the options are optional,
and default to 0, and remove the one place where the default of 0 was
mentioned.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
---
utils/v4l2-ctl/v4l2-ctl-subdev.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
@@ -36,8 +36,9 @@ static double set_fps;
void subdev_usage()
{
printf("\nSub-Device options:\n"
+ "Note: all parameters below (pad, code, etc.) are optional unless otherwise noted and default to 0\n"
" --list-subdev-mbus-codes <pad>\n"
- " display supported mediabus codes for this pad (0 is default)\n"
+ " display supported mediabus codes for this pad\n"
" [VIDIOC_SUBDEV_ENUM_MBUS_CODE]\n"
" --list-subdev-framesizes pad=<pad>,code=<code>\n"
" list supported framesizes for this pad and code\n"