mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-17 17:35:06 +03:00
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>
This commit is contained in:
parent
205f1f1381
commit
36ab14e12d
2 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue