summaryrefslogtreecommitdiff
path: root/src
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
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')
-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',
};