aboutsummaryrefslogtreecommitdiffstats
path: root/host/examples/gpio.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'host/examples/gpio.cpp')
-rw-r--r--host/examples/gpio.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/host/examples/gpio.cpp b/host/examples/gpio.cpp
index d89bf7d1c..537da80ca 100644
--- a/host/examples/gpio.cpp
+++ b/host/examples/gpio.cpp
@@ -153,6 +153,7 @@ int UHD_SAFE_MAIN(int argc, char *argv[])
//setup the program options
po::options_description desc("Allowed options");
+ // clang-format off
desc.add_options()
("help", "help message")
("args", po::value<std::string>(&args)->default_value(""), "multi uhd device address args")
@@ -168,6 +169,7 @@ int UHD_SAFE_MAIN(int argc, char *argv[])
("ddr", po::value<std::string>(&ddr_str)->default_value(GPIO_DEFAULT_DDR), "GPIO DDR reg value")
("out", po::value<std::string>(&out_str)->default_value(GPIO_DEFAULT_OUT), "GPIO OUT reg value")
;
+ // clang-format on
po::variables_map vm;
po::store(po::parse_command_line(argc, argv, desc), vm);
po::notify(vm);