diff options
| -rw-r--r-- | host/utils/uhd_usrp_probe.cpp | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/host/utils/uhd_usrp_probe.cpp b/host/utils/uhd_usrp_probe.cpp index 98ed84850..04ccc1e5a 100644 --- a/host/utils/uhd_usrp_probe.cpp +++ b/host/utils/uhd_usrp_probe.cpp @@ -192,6 +192,7 @@ int UHD_SAFE_MAIN(int argc, char *argv[]){          ("args", po::value<std::string>()->default_value(""), "device address args")          ("tree", "specify to print a complete property tree")          ("string", po::value<std::string>(), "query a string value from the properties tree") +        ("init-only", "skip all queries, only initialize device")      ;      po::variables_map vm; @@ -218,7 +219,7 @@ int UHD_SAFE_MAIN(int argc, char *argv[]){      }      if (vm.count("tree") != 0) print_tree("/", tree); -    else std::cout << make_border(get_device_pp_string(tree)) << std::endl; +    else if (not vm.count("init-only")) std::cout << make_border(get_device_pp_string(tree)) << std::endl;      return EXIT_SUCCESS;  } | 
