diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2015-03-08 19:40:11 +0100 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2015-03-08 19:40:11 +0100 |
commit | 46cd1838255712cc599a30a81098121aa26d80f5 (patch) | |
tree | da3eeaacf816637f519a23065a6c6c737b34d98e /apps/sm-get-value.cpp | |
parent | eecddf878f98bb921622a5a5bb2600aedb5a53fa (diff) | |
download | ble-toys-46cd1838255712cc599a30a81098121aa26d80f5.tar.gz ble-toys-46cd1838255712cc599a30a81098121aa26d80f5.tar.bz2 ble-toys-46cd1838255712cc599a30a81098121aa26d80f5.tar.xz ble-toys-46cd1838255712cc599a30a81098121aa26d80f5.zip |
o Formatting.
Diffstat (limited to 'apps/sm-get-value.cpp')
-rw-r--r-- | apps/sm-get-value.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/apps/sm-get-value.cpp b/apps/sm-get-value.cpp index 2772b55..a61132f 100644 --- a/apps/sm-get-value.cpp +++ b/apps/sm-get-value.cpp @@ -124,14 +124,14 @@ namespace apps { class sm_get_value : public app { public: - void add_options(po::options_description_easy_init& options) override { + void add_options(po::options_description_easy_init &options) override { options - ("help", "produce help message") - ("device", po::value<string>()->required(), "MAC of device to poll") - ("sensor", po::value<vector<unsigned int>>(&sensors)->multitoken(), "Sensor to poll, defaults to all") - ("sleep", po::value<unsigned int>(&sleepTime)->default_value(0), - "How long to sleep in seconds between each poll. If not give, it will exit after first poll") - ("format", po::value<Format>(&format)->default_value(Format::PLAIN), "Output format"); + ("help", "produce help message") + ("device", po::value<string>()->required(), "MAC of device to poll") + ("sensor", po::value<vector<unsigned int>>(&sensors)->multitoken(), "Sensor to poll, defaults to all") + ("sleep", po::value<unsigned int>(&sleepTime)->default_value(0), + "How long to sleep in seconds between each poll. If not give, it will exit after first poll") + ("format", po::value<Format>(&format)->default_value(Format::PLAIN), "Output format"); } |