diff options
author | Martin Braun <martin.braun@ettus.com> | 2016-12-01 16:22:32 -0800 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2016-12-01 16:22:48 -0800 |
commit | 5de7ab51086f161882c3ca4050a8e50c2c341132 (patch) | |
tree | b2516dbbb2aaa5d7e1a84bcc58982ef9097154ec /host | |
parent | 77cbd56a5d09b29720aa309a9c95765c01ec9c65 (diff) | |
download | uhd-5de7ab51086f161882c3ca4050a8e50c2c341132.tar.gz uhd-5de7ab51086f161882c3ca4050a8e50c2c341132.tar.bz2 uhd-5de7ab51086f161882c3ca4050a8e50c2c341132.zip |
utils: Added --abi-string to uhd_config_info
Diffstat (limited to 'host')
-rw-r--r-- | host/utils/uhd_config_info.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/host/utils/uhd_config_info.cpp b/host/utils/uhd_config_info.cpp index 78fcb201b..a071f0918 100644 --- a/host/utils/uhd_config_info.cpp +++ b/host/utils/uhd_config_info.cpp @@ -40,6 +40,7 @@ int UHD_SAFE_MAIN(int argc, char* argv[]) { ("libusb-version", "Print libusb version") ("pkg-path", "Print pkg path") ("images-dir", "Print images dir") + ("abi-version", "Print ABI version string") ("print-all", "Print everything") ("version", "Print this UHD build's version") ("help", "Print help message") @@ -94,6 +95,9 @@ int UHD_SAFE_MAIN(int argc, char* argv[]) { if(vm.count("images-dir") > 0 or print_all) { std::cout << "Images directory: " << uhd::get_images_dir("") << std::endl; } + if(vm.count("abi-version") > 0 or print_all) { + std::cout << "ABI version string: " << uhd::get_abi_string() << std::endl; + } return EXIT_SUCCESS; } |