From: Uwe Hermann Date: Tue, 4 Jun 2019 17:12:46 +0000 (+0200) Subject: --list-serial: Also mention HID/BT/BLE as possible "ports". X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=a360511e48f7b77a5535b0391bf391edd2f4718c;p=sigrok-cli.git --list-serial: Also mention HID/BT/BLE as possible "ports". --- diff --git a/options.c b/options.c index d69ed73..5a6f948 100644 --- a/options.c +++ b/options.c @@ -159,7 +159,7 @@ static const GOptionEntry optargs[] = { "Sample continuously", NULL}, {"get", 0, 0, G_OPTION_ARG_CALLBACK, &check_opt_get, "Get device options only", NULL}, {"set", 0, 0, G_OPTION_ARG_NONE, &opt_set, "Set device options only", NULL}, - {"list-serial", 0, 0, G_OPTION_ARG_NONE, &opt_list_serial, "List available serial ports", NULL}, + {"list-serial", 0, 0, G_OPTION_ARG_NONE, &opt_list_serial, "List available serial/HID/BT/BLE ports", NULL}, {NULL, 0, 0, 0, NULL, NULL, NULL} }; diff --git a/show.c b/show.c index c2517dd..ce001cd 100644 --- a/show.c +++ b/show.c @@ -1073,7 +1073,7 @@ void show_serial_ports(void) if (!serial_ports) return; - printf("Available serial ports:\n"); + printf("Available serial/HID/BT/BLE ports:\n"); g_slist_foreach(serial_ports, print_serial_port, NULL); g_slist_free_full(serial_ports, (GDestroyNotify)sr_serial_free); }