diff options
author | Brent Stapleton <brent.stapleton@ettus.com> | 2019-01-10 15:19:48 -0800 |
---|---|---|
committer | Brent Stapleton <brent.stapleton@ettus.com> | 2019-01-16 11:40:23 -0800 |
commit | 601e0ed87bd97a54f5243fffa7ccd60e31e42425 (patch) | |
tree | 596988e677e7929d5c24259d3b0870f93f107ded /host/utils/octoclock_burn_eeprom.cpp | |
parent | 8bd7498ed9fea9c46fa34705986968416d818029 (diff) | |
download | uhd-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/octoclock_burn_eeprom.cpp')
-rw-r--r-- | host/utils/octoclock_burn_eeprom.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/host/utils/octoclock_burn_eeprom.cpp b/host/utils/octoclock_burn_eeprom.cpp index a4a8adf03..f98f526f6 100644 --- a/host/utils/octoclock_burn_eeprom.cpp +++ b/host/utils/octoclock_burn_eeprom.cpp @@ -25,12 +25,14 @@ int UHD_SAFE_MAIN(int argc, char *argv[]){ std::string args, input_str, key, val; po::options_description desc("Allowed options"); + // clang-format off desc.add_options() ("help", "help message") ("args", po::value<std::string>(&args)->default_value(""), "device address args [default = \"\"]") ("values", po::value<std::string>(&input_str), "keys+values to read/write, separate multiple by \",\"") ("read-all", "Read all motherboard EEPROM values without writing") ; + // clang-format on po::variables_map vm; po::store(po::parse_command_line(argc, argv, desc), vm); |