mirror of
https://github.com/EttusResearch/uhd.git
synced 2026-10-25 17:36:10 +00:00
utils: Make uhd_config_info print help by default
This commit is contained in:
parent
966e3637b4
commit
7e27726aa7
@ -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;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user