diff options
author | Jacopo Mondi <jacopo@jmondi.org> | 2020-03-18 17:29:23 +0100 |
---|---|---|
committer | Jacopo Mondi <jacopo@jmondi.org> | 2020-03-20 15:13:04 +0100 |
commit | cf66c4406bbd66b885090d2ddbe2b72b6fb0492d (patch) | |
tree | 040be653eabb5272a8c27b32342e153bbdd5bf07 /src/cam/main.cpp | |
parent | e0808528d855dd6f4a82ee4a569a86cf6e45f532 (diff) |
cam: Print one property per line
When printing camera properties, print one property per line.
Fixes: a14b6baca9af ("cam: Add option to list camera properties")
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'src/cam/main.cpp')
-rw-r--r-- | src/cam/main.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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; |