summaryrefslogtreecommitdiff
path: root/src/cam/main.cpp
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-04-24 20:46:33 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-04-26 21:04:41 +0300
commit36ab14e12d25ec8277fe44a0f4ebb5402b9df38e (patch)
tree484dd02a6e7e6b2d10ac49445c3bb7e7007f2ffd /src/cam/main.cpp
parent205f1f13814018e3d0511c797b9399529efe9a59 (diff)
cam: Rename OptProps to OptListProperties
The name OptProps is not very clear, spell it out fully. The command line options are not changed. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'src/cam/main.cpp')
-rw-r--r--src/cam/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cam/main.cpp b/src/cam/main.cpp
index 718740f4..340849e7 100644
--- a/src/cam/main.cpp
+++ b/src/cam/main.cpp
@@ -182,7 +182,7 @@ int CamApp::parseOptions(int argc, char *argv[])
parser.addOption(OptInfo, OptionNone,
"Display information about stream(s)", "info");
parser.addOption(OptList, OptionNone, "List all cameras", "list");
- parser.addOption(OptProps, OptionNone, "List cameras properties",
+ parser.addOption(OptListProperties, OptionNone, "List cameras properties",
"list-properties");
options_ = parser.parse(argc, argv);
@@ -339,7 +339,7 @@ int CamApp::run()
}
}
- if (options_.isSet(OptProps)) {
+ if (options_.isSet(OptListProperties)) {
ret = listProperties();
if (ret)
return ret;