cam: Print one property per line
When printing camera properties, print one property per line.
Fixes: a14b6baca9 ("cam: Add option to list camera properties")
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
This commit is contained in:
@@ -284,7 +284,8 @@ int CamApp::listProperties()
|
||||
const ControlId *id = properties::properties.at(prop.first);
|
||||
const ControlValue &value = prop.second;
|
||||
|
||||
std::cout << "Property: " << id->name() << " = " << value.toString();
|
||||
std::cout << "Property: " << id->name() << " = "
|
||||
<< value.toString() << std::endl;
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user