diff options
author | Derek Kozel <derek@bitstovolts.com> | 2020-06-05 20:55:29 +0100 |
---|---|---|
committer | michael-west <michael.west@ettus.com> | 2020-07-09 09:54:32 -0700 |
commit | 7e27726aa7369b9ca610c0e2090a0a69239a44e8 (patch) | |
tree | b092c5ed88da5bde776463ff4782430eeee82bf5 /host | |
parent | 966e3637b4e81780cf84c8c0746387f23c107d2c (diff) | |
download | uhd-7e27726aa7369b9ca610c0e2090a0a69239a44e8.tar.gz uhd-7e27726aa7369b9ca610c0e2090a0a69239a44e8.tar.bz2 uhd-7e27726aa7369b9ca610c0e2090a0a69239a44e8.zip |
utils: Make uhd_config_info print help by default
Diffstat (limited to 'host')
-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; } |