From cf66c4406bbd66b885090d2ddbe2b72b6fb0492d Mon Sep 17 00:00:00 2001 From: Jacopo Mondi Date: Wed, 18 Mar 2020 17:29:23 +0100 Subject: cam: Print one property per line MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When printing camera properties, print one property per line. Fixes: a14b6baca9af ("cam: Add option to list camera properties") Reviewed-by: Niklas Söderlund Signed-off-by: Jacopo Mondi --- src/cam/main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/cam/main.cpp b/src/cam/main.cpp index f73e77f3..2a0a830f 100644 --- a/src/cam/main.cpp +++ b/src/cam/main.cpp @@ -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; -- cgit v1.2.1