From 785c9a14d60b302a6f1ea1de8eae46d9093b7d21 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Thu, 1 Dec 2016 16:22:32 -0800 Subject: utils: Added --abi-string to uhd_config_info --- host/utils/uhd_config_info.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'host/utils') 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; } -- cgit v1.2.3