summaryrefslogtreecommitdiff
path: root/src/cam/main.cpp
diff options
context:
space:
mode:
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;