Bug#673171: [PATCH] iproute2: trivial fix of ip link syntax in manpage
Subsystems (2)
Quoted 7 lines · Ivan Vilata i Balaguer
Hi, I found that the description of the
ip link addcommand in the manpage is outdated regarding the compulsorylink DEVICEoption. For instance,ip link helpsays:Usage: ip link add [link DEV] [ name ] NAME
...
Quoted 6 lines
But the manpage still says:
ip link add link DEVICE [ name ] NAME
(Trying to provide a
linkoption e.g. under an LXC container can frustrate the creation of dummy devices which don't need an actual device.)
The syntax of the "ip link help" output was fixed in commit "iproute2: Fix usage and man page for 'ip link'" (a22e92951d). This updates the manpage to mark "link DEVICE" as an optional argument there as well.
man/man8/ip-link.8 +3 -1
@@ -23,7 +23,9 @@ ip-link \- network device configuration \fB\-o\fR[\fIneline\fR] } .ti -8 -.BI "ip link add link " DEVICE +.BI "ip link add" +.RB "[ " link +.IR DEVICE " ]" .RB "[ " name " ]" .I NAME .br
PATCH v2 1/1 iproute2: trivial fix of ip link syntax in manpage
Argh.... template files and generated files also shipped. Make sure to edit them both to avoid losing the change.
Quoted 15 lines · Andreas Henriksson
Quoted 7 lines · Ivan Vilata i Balaguer
Hi, I found that the description of the
ip link addcommand in the manpage is outdated regarding the compulsorylink DEVICEoption. For instance,ip link helpsays:Usage: ip link add [link DEV] [ name ] NAME
...Quoted 6 lines
But the manpage still says:
ip link add link DEVICE [ name ] NAME
(Trying to provide a
linkoption e.g. under an LXC container can frustrate the creation of dummy devices which don't need an actual device.)
Quoted 7 lines
The syntax of the "ip link help" output was fixed in commit "iproute2: Fix usage and man page for 'ip link'" (
a22e92951d). This updates the manpage to mark "link DEVICE" as an optional argument there as well.
man/man8/ip-link.8 +3 -1
@@ -23,7 +23,9 @@ ip-link \- network device configuration \fB\-o\fR[\fIneline\fR] } .ti -8 -.BI "ip link add link " DEVICE +.BI "ip link add" +.RB "[ " link +.IR DEVICE " ]" .RB "[ " name " ]" .I NAME .br
man/man8/ip-link.8.in +3 -1
@@ -23,7 +23,9 @@ ip-link \- network device configuration \fB\-o\fR[\fIneline\fR] } .ti -8 -.BI "ip link add link " DEVICE +.BI "ip link add" +.RB "[ " link +.IR DEVICE " ]" .RB "[ " name " ]" .I NAME .br