Correct manpage for --userns

The man page states that the --userns option can be given either as a path
or as a name relative to --nsrun-dir.  This is not correct: as the name
suggests --nsrun-dir is (correctly) used only for *netns* resolution, not
*userns* resolution.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
David Gibson 2022-08-26 14:58:34 +10:00 committed by Stefano Brivio
parent aae2a9bbf7
commit ff1ac78a5e

View file

@ -442,9 +442,8 @@ Default is \fBauto\fR.
.TP .TP
.BR \-\-userns " " \fIspec .BR \-\-userns " " \fIspec
Target user namespace to join, as path or name (i.e. suffix for --nsrun-dir). If Target user namespace to join, as a path. If PID is given, without this option,
PID is given, without this option, the user namespace will be the one of the the user namespace will be the one of the corresponding process.
corresponding process.
This option requires PID, PATH or NAME to be specified. This option requires PID, PATH or NAME to be specified.