diff options
-rw-r--r-- | host/utils/uhd_config_info.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host/utils/uhd_config_info.cpp b/host/utils/uhd_config_info.cpp index 2d892ff47..febf371bd 100644 --- a/host/utils/uhd_config_info.cpp +++ b/host/utils/uhd_config_info.cpp @@ -43,7 +43,7 @@ int UHD_SAFE_MAIN(int argc, char* argv[]) po::notify(vm); // Print the help message - if (vm.count("help") > 0) { + if (vm.count("help") > 0 or vm.empty()) { std::cout << boost::format("UHD Config Info - %s") % desc << std::endl; return EXIT_FAILURE; } |