Commit 3dd89f9f authored by Tobias Polzer's avatar Tobias Polzer Committed by Greg Kroah-Hartman

staging: usbip: Fix man-pages for usbip userspace utilities

The usbip userspace utilities contained some half-documented (only in
--help, not in man) options. They were added to the man-pages of usbip
and usbipd.
Also a typo in the usbip headline was fixed.
Signed-off-by: default avatarTobias Polzer <tobias.polzer@fau.de>
Signed-off-by: default avatarDominik Paulus <dominik.paulus@fau.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent ab00bf09
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
usbip \- manage USB/IP devices usbip \- manage USB/IP devices
.SH SYNOPSIS .SH SYNOPSIS
.B usbip .B usbip
[\foptions\R] <\fIcommand\fR> <\fIargs\fR> [\fIoptions\fR] <\fIcommand\fR> <\fIargs\fR>
.SH DESCRIPTION .SH DESCRIPTION
On a USB/IP server, devices can be listed, bound, and unbound using On a USB/IP server, devices can be listed, bound, and unbound using
...@@ -23,6 +23,12 @@ Print debugging information. ...@@ -23,6 +23,12 @@ Print debugging information.
Log to syslog. Log to syslog.
.PP .PP
.HP
\fB\-\-tcp-port PORT\fR
.IP
Connect to PORT on remote host (used for attach and list --remote).
.PP
.SH COMMANDS .SH COMMANDS
.HP .HP
\fBversion\fR \fBversion\fR
......
...@@ -14,9 +14,21 @@ Devices have to explicitly be exported using ...@@ -14,9 +14,21 @@ Devices have to explicitly be exported using
before usbipd makes them available to other hosts. before usbipd makes them available to other hosts.
The daemon accepts connections from USB/IP clients The daemon accepts connections from USB/IP clients
on TCP port 3240. on TCP port 3240 by default.
.SH OPTIONS .SH OPTIONS
.HP
\fB\-4\fR, \fB\-\-ipv4\fR
.IP
Bind to IPv4. Default is both.
.PP
.HP
\fB\-6\fR, \fB\-\-ipv6\fR
.IP
Bind to IPv6. Default is both.
.PP
.HP .HP
\fB\-D\fR, \fB\-\-daemon\fR \fB\-D\fR, \fB\-\-daemon\fR
.IP .IP
...@@ -29,6 +41,19 @@ Run as a daemon process. ...@@ -29,6 +41,19 @@ Run as a daemon process.
Print debugging information. Print debugging information.
.PP .PP
.HP
\fB\-PFILE\fR, \fB\-\-pid FILE\fR
.IP
Write process id to FILE.
.br
If no FILE specified, use /var/run/usbipd.pid
.PP
\fB\-tPORT\fR, \fB\-\-tcp\-port PORT\fR
.IP
Listen on TCP/IP port PORT.
.PP
\fB\-h\fR, \fB\-\-help\fR \fB\-h\fR, \fB\-\-help\fR
.IP .IP
Print the program help message and exit. Print the program help message and exit.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment