aboutsummaryrefslogtreecommitdiffstats
path: root/host/utils/converter_benchmark.cpp
diff options
context:
space:
mode:
authorBrent Stapleton <brent.stapleton@ettus.com>2019-01-10 15:19:48 -0800
committerBrent Stapleton <brent.stapleton@ettus.com>2019-01-16 11:40:23 -0800
commit601e0ed87bd97a54f5243fffa7ccd60e31e42425 (patch)
tree596988e677e7929d5c24259d3b0870f93f107ded /host/utils/converter_benchmark.cpp
parent8bd7498ed9fea9c46fa34705986968416d818029 (diff)
downloaduhd-601e0ed87bd97a54f5243fffa7ccd60e31e42425.tar.gz
uhd-601e0ed87bd97a54f5243fffa7ccd60e31e42425.tar.bz2
uhd-601e0ed87bd97a54f5243fffa7ccd60e31e42425.zip
examples: utils: skip formatting program options
Turning off clang formatting around the program option declarations. clang-format makes them looks bad an unreadable because it thinks the options are function calls or something.
Diffstat (limited to 'host/utils/converter_benchmark.cpp')
-rw-r--r--host/utils/converter_benchmark.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/host/utils/converter_benchmark.cpp b/host/utils/converter_benchmark.cpp
index aa3985fd1..cb8cce519 100644
--- a/host/utils/converter_benchmark.cpp
+++ b/host/utils/converter_benchmark.cpp
@@ -291,6 +291,7 @@ int UHD_SAFE_MAIN(int argc, char *argv[])
/// Command line arguments
po::options_description desc("Converter benchmark options:");
+ // clang-format off
desc.add_options()
("help", "help message")
("in", po::value<std::string>(&in_format), "Input format (e.g. 'sc16')")
@@ -305,6 +306,7 @@ int UHD_SAFE_MAIN(int argc, char *argv[])
("seed-mode", po::value<std::string>(&seed_mode)->default_value("random"), "How to initialize the data: random, incremental")
("hex", "When using debug mode, dump memory in hex")
;
+ // clang-format on
po::variables_map vm;
po::store(po::parse_command_line(argc, argv, desc), vm);
po::notify(vm);