From 7e27726aa7369b9ca610c0e2090a0a69239a44e8 Mon Sep 17 00:00:00 2001 From: Derek Kozel Date: Fri, 5 Jun 2020 20:55:29 +0100 Subject: utils: Make uhd_config_info print help by default --- host/utils/uhd_config_info.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'host') 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; } -- cgit v1.2.3