Lines Matching +full:usb +full:- +full:attach
1 // SPDX-License-Identifier: GPL-2.0-or-later
7 * 2005-2007 Takahiro Hirofuchi
26 "usbip [--debug] [--log] [--tcp-port PORT] [version]\n"
55 .name = "attach",
57 .help = "Attach a remote USB device",
63 .help = "Detach a remote USB device",
69 .help = "List exportable or local USB devices",
87 .help = "Show imported USB devices",
105 ret = -1; in usbip_help()
110 for (cmd = cmds; cmd->name != NULL; cmd++) in usbip_help()
111 if (cmd->help != NULL) in usbip_help()
112 printf(" %-10s %s\n", cmd->name, cmd->help); in usbip_help()
129 dbg("running command: `%s'", cmd->name); in run_command()
130 return cmd->fn(argc, argv); in run_command()
138 { "tcp-port", required_argument, NULL, 't' }, in main()
144 int i, rc = -1; in main()
151 if (opt == -1) in main()
179 argc -= optind; in main()
190 return (rc > -1 ? EXIT_SUCCESS : EXIT_FAILURE); in main()