"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}
};
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);
}