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:
Jacopo Mondi 2020-03-18 17:29:23 +01:00
parent e0808528d8
commit cf66c4406b

View file

@ -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;