aboutsummaryrefslogtreecommitdiffstats
path: root/host/utils/latency/responder.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/latency/responder.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/latency/responder.cpp')
-rw-r--r--host/utils/latency/responder.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/host/utils/latency/responder.cpp b/host/utils/latency/responder.cpp
index ebe67f732..6216f15e6 100644
--- a/host/utils/latency/responder.cpp
+++ b/host/utils/latency/responder.cpp
@@ -17,6 +17,7 @@ po::options_description
get_program_options_description()
{
po::options_description desc("Allowed options");
+ // clang-format off
desc.add_options()
("help", "help message")
("title", po::value<std::string>(&prog.test_title)->default_value(""), "title to show during test")
@@ -66,6 +67,7 @@ get_program_options_description()
("priority", po::value<double>(&prog.rt_priority)->default_value(1.0), "scheduler priority")
("no-realtime", "don't enable real-time")
;
+ // clang-format on
return desc;
}