summaryrefslogtreecommitdiff
path: root/src/cam
diff options
context:
space:
mode:
Diffstat (limited to 'src/cam')
-rw-r--r--src/cam/main.cpp4
-rw-r--r--src/cam/main.h2
2 files changed, 3 insertions, 3 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;
diff --git a/src/cam/main.h b/src/cam/main.h
index afcad435..d23c6dfb 100644
--- a/src/cam/main.h
+++ b/src/cam/main.h
@@ -14,7 +14,7 @@ enum {
OptHelp = 'h',
OptInfo = 'I',
OptList = 'l',
- OptProps = 'p',
+ OptListProperties = 'p',
OptStream = 's',
};