usbip: tools: add usage of device mode in usbip_list.c
authorHongren Zheng (Zenithal) <i@zenithal.me>
Wed, 24 Mar 2021 07:56:27 +0000 (15:56 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 26 Mar 2021 13:27:50 +0000 (14:27 +0100)
The option '-d/--device' was implemented in 'usbip list' but not
shown in usage. Hence this commit adds this option to usage.

Acked-by: Shuah Khan <skhan@linuxfoundation.org>
Signed-off-by: Hongren Zheng <i@zenithal.me>
Link: https://lore.kernel.org/r/YFrwq75Uyef3c9gz@Sun
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
tools/usb/usbip/src/usbip_list.c

index 8625b0f..3d810bc 100644 (file)
@@ -33,7 +33,8 @@ static const char usbip_list_usage_string[] =
        "usbip list [-p|--parsable] <args>\n"
        "    -p, --parsable         Parsable list format\n"
        "    -r, --remote=<host>    List the exportable USB devices on <host>\n"
-       "    -l, --local            List the local USB devices\n";
+       "    -l, --local            List the local USB devices\n"
+       "    -d, --device           List the local USB gadgets bound to usbip-vudc\n";
 
 void usbip_list_usage(void)
 {