]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
devlink: fix man page for linecard
authorStephen Hemminger <stephen@networkplumber.org>
Fri, 30 Sep 2022 19:40:44 +0000 (12:40 -0700)
committerStephen Hemminger <stephen@networkplumber.org>
Fri, 30 Sep 2022 19:40:44 +0000 (12:40 -0700)
Doing make check on iproute2 runs several checks including man page
checks for common errors. Recent addition of linecard support to
devlink introduced this error.

Checking manpages for syntax errors...
an-old.tmac: <standard input>: line 31: 'R' is a string (producing the registered sign), not a macro.
Error in devlink-lc.8

Fixes: 4cb0bec3744a ("devlink: add support for linecard show and type set")
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
man/man8/devlink-lc.8

index 1661b9bd6917aa3d98179d97b001a4a185789dd3..b588cbc0020f394c7ad9e157c6d175c0185e9f49 100644 (file)
@@ -28,7 +28,7 @@ devlink-lc \- devlink line card configuration
 .B "devlink lc show"
 .RI "[ " DEV " [ "
 .BI lc " LC_INDEX
-.R  " ] ]"
+] ]
 
 .ti -8
 .B devlink lc help