When calling "v4l2-ctl --all" the user may expect the most comprehensive
output, so also print the menus when listing controls.

Signed-off-by: Antonio Ospite <a...@ao2.it>
---
 utils/v4l2-ctl/v4l2-ctl.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/utils/v4l2-ctl/v4l2-ctl.cpp b/utils/v4l2-ctl/v4l2-ctl.cpp
index 8c52c7be..a65262f6 100644
--- a/utils/v4l2-ctl/v4l2-ctl.cpp
+++ b/utils/v4l2-ctl/v4l2-ctl.cpp
@@ -1255,7 +1255,7 @@ int main(int argc, char **argv)
                options[OptGetPriority] = 1;
                options[OptGetSelection] = 1;
                options[OptGetOutputSelection] = 1;
-               options[OptListCtrls] = 1;
+               options[OptListCtrlsMenus] = 1;
                options[OptSilent] = 1;
        }
 
-- 
2.20.1

Reply via email to