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:
parent
e0808528d8
commit
cf66c4406b
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue