From: Uwe Hermann Date: Mon, 16 Apr 2012 19:49:05 +0000 (+0200) Subject: cli: Show sr/srd versions determined at run-time. X-Git-Tag: sigrok-cli-0.3.0~1 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=4d16724058cbc97eac0f1a9e32322150777a7323;p=sigrok-cli.git cli: Show sr/srd versions determined at run-time. --- diff --git a/sigrok-cli.c b/sigrok-cli.c index 5539041..6440600 100644 --- a/sigrok-cli.c +++ b/sigrok-cli.c @@ -94,6 +94,11 @@ static void show_version(void) printf("sigrok-cli %s\n\n", VERSION); + printf("Using libsigrok %s (lib version %s).\n", + sr_package_version_string_get(), sr_lib_version_string_get()); + printf("Using libsigrokdecode %s (lib version %s).\n\n", + srd_package_version_string_get(), srd_lib_version_string_get()); + printf("Supported hardware drivers:\n"); drivers = sr_driver_list(); for (i = 0; drivers[i]; i++) {