conf: Make the argument to --pcap option mandatory
The --pcap or -p option can be used with or without an argument. If given, the argument gives the name of the file to save a packet trace to. If omitted, we generate a default name in /tmp. Generating the default name isn't particularly useful though, since making a suitable name can easily be done by the caller. Remove this feature. Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:

committed by
Stefano Brivio

parent
63d1390229
commit
bf95322fc1
10
passt.1
10
passt.1
@@ -111,16 +111,6 @@ Display a help message and exit.
|
||||
Capture tap-facing (that is, guest-side or namespace-side) network packets to
|
||||
\fIfile\fR in \fBpcap\fR format.
|
||||
|
||||
If \fIfile\fR is not given, capture packets to
|
||||
|
||||
\fB/tmp/passt_\fIISO8601-timestamp\fR_\fIPID\fB.pcap\fR
|
||||
|
||||
in \fBpasst\fR mode and to
|
||||
|
||||
\fB/tmp/pasta_\fIISO8601-timestamp\fR_\fIPID\fB.pcap\fR
|
||||
|
||||
in \fBpasta\fR mode, where \fIPID\fR is the ID of the running process.
|
||||
|
||||
.TP
|
||||
.BR \-P ", " \-\-pid " " \fIfile
|
||||
Write own PID to \fIfile\fR once initialisation is done, before forking to
|
||||
|
Reference in New Issue
Block a user