All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH iproute2 1/2] vxlan: fix help and man text
@ 2016-01-14 17:10 Nicolas Dichtel
  2016-01-14 17:10 ` [PATCH iproute2 2/2] ip-link: fix man page warnings Nicolas Dichtel
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Nicolas Dichtel @ 2016-01-14 17:10 UTC (permalink / raw)
  To: shemminger; +Cc: netdev, Thomas Faivre, Nicolas Dichtel

From: Thomas Faivre <thomas.faivre@6wind.com>

Options 'group' and 'remote' cannot take 'any' as value but 'local' can.

Signed-off-by: Thomas Faivre <thomas.faivre@6wind.com>
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
---
 ip/iplink_vxlan.c     | 2 +-
 man/man8/ip-link.8.in | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/ip/iplink_vxlan.c b/ip/iplink_vxlan.c
index aa4d5198d78d..ede8482439d5 100644
--- a/ip/iplink_vxlan.c
+++ b/ip/iplink_vxlan.c
@@ -23,7 +23,7 @@
 
 static void print_explain(FILE *f)
 {
-	fprintf(f, "Usage: ... vxlan id VNI [ { group | remote } ADDR ] [ local ADDR ]\n");
+	fprintf(f, "Usage: ... vxlan id VNI [ { group | remote } IP_ADDRESS ] [ local ADDR ]\n");
 	fprintf(f, "                 [ ttl TTL ] [ tos TOS ] [ dev PHYS_DEV ]\n");
 	fprintf(f, "                 [ dstport PORT ] [ srcport MIN MAX ]\n");
 	fprintf(f, "                 [ [no]learning ] [ [no]proxy ] [ [no]rsc ]\n");
diff --git a/man/man8/ip-link.8.in b/man/man8/ip-link.8.in
index ac6f4813a329..a3d90f796a67 100644
--- a/man/man8/ip-link.8.in
+++ b/man/man8/ip-link.8.in
@@ -391,7 +391,8 @@ the following additional arguments are supported:
 .RB " ] [ { " group " | " remote " } "
 .I IPADDR
 .R " ] [ "
-.BI local " IPADDR "
+.B local
+.RI "{ "IPADDR " | "any " } "
 .R " ] [ "
 .BI ttl " TTL "
 .R " ] [ "
-- 
2.4.2

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH iproute2 2/2] ip-link: fix man page warnings
  2016-01-14 17:10 [PATCH iproute2 1/2] vxlan: fix help and man text Nicolas Dichtel
@ 2016-01-14 17:10 ` Nicolas Dichtel
  2016-01-18 19:44 ` [PATCH iproute2 1/2] vxlan: fix help and man text Stephen Hemminger
       [not found] ` <fb53a0d821374fd6bed4861884861e96@HQ1WP-EXMB11.corp.brocade.com>
  2 siblings, 0 replies; 4+ messages in thread
From: Nicolas Dichtel @ 2016-01-14 17:10 UTC (permalink / raw)
  To: shemminger; +Cc: netdev, Thomas Faivre, Nicolas Dichtel

From: Thomas Faivre <thomas.faivre@6wind.com>

grff wrapper returns warnings when parsing the ip-link.8.in file.

How to reproduce:
$ man --warnings ip-link > /dev/null
`R' is a string (producing the registered sign), not a macro.
[...]

Signed-off-by: Thomas Faivre <thomas.faivre@6wind.com>
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
---
 man/man8/ip-link.8.in | 102 +++++++++++++++++++++++++-------------------------
 1 file changed, 51 insertions(+), 51 deletions(-)

diff --git a/man/man8/ip-link.8.in b/man/man8/ip-link.8.in
index a3d90f796a67..02aabcbeb0a5 100644
--- a/man/man8/ip-link.8.in
+++ b/man/man8/ip-link.8.in
@@ -284,28 +284,28 @@ the following additional arguments are supported:
 .BI link " DEVICE "
 .BI name " NAME "
 .BI type " vlan "
-.R " [ "
+[
 .BI protocol " VLAN_PROTO "
-.R " ] "
+]
 .BI id " VLANID "
-.R " [ "
+[
 .BR reorder_hdr " { " on " | " off " } "
-.R " ] "
-.R " [ "
+]
+[
 .BR gvrp " { " on " | " off " } "
-.R " ] "
-.R " [ "
+]
+[
 .BR mvrp " { " on " | " off " } "
-.R " ] "
-.R " [ "
+]
+[
 .BR loose_binding " { " on " | " off " } "
-.R " ] "
-.R " [ "
+]
+[
 .BI ingress-qos-map " QOS-MAP "
-.R " ] "
-.R " [ "
+]
+[
 .BI egress-qos-map " QOS-MAP "
-.R " ] "
+]
 
 .in +8
 .sp
@@ -386,44 +386,44 @@ the following additional arguments are supported:
 
 .BI "ip link add " DEVICE
 .BI type " vxlan " id " ID"
-.R " [ "
+[
 .BI dev " PHYS_DEV "
 .RB " ] [ { " group " | " remote " } "
 .I IPADDR
-.R " ] [ "
+] [
 .B local
 .RI "{ "IPADDR " | "any " } "
-.R " ] [ "
+] [
 .BI ttl " TTL "
-.R " ] [ "
+] [
 .BI tos " TOS "
-.R " ] [ "
+] [
 .BI dstport " PORT "
-.R " ] [ "
+] [
 .BI srcport " MIN MAX "
-.R " ] [ "
+] [
 .I "[no]learning "
-.R " ] [ "
+] [
 .I "[no]proxy "
-.R " ] [ "
+] [
 .I "[no]rsc "
-.R " ] [ "
+] [
 .I "[no]l2miss "
-.R " ] [ "
+] [
 .I "[no]l3miss "
-.R " ] [ "
+] [
 .I "[no]udpcsum "
-.R " ] [ "
+] [
 .I "[no]udp6zerocsumtx "
-.R " ] [ "
+] [
 .I "[no]udp6zerocsumrx "
-.R " ] [ "
+] [
 .BI ageing " SECONDS "
-.R " ] [ "
+] [
 .BI maxaddress " NUMBER "
-.R " ] [ "
+] [
 .B gbp
-.R " ]"
+]
 
 .in +8
 .sp
@@ -565,17 +565,17 @@ the following additional arguments are supported:
 .BI "ip link add " DEVICE
 .BR type " { gre | ipip | sit } "
 .BI " remote " ADDR " local " ADDR
-.R " [ "
+[
 .BR encap " { fou | gue | none } "
-.R " ] [ "
+] [
 .BI "encap-sport { " PORT " | auto } "
-.R " ] [ "
+] [
 .BI "encap-dport " PORT
-.R " ] [ "
+] [
 .I " [no]encap-csum "
-.R " ] [ "
+] [
 .I " [no]encap-remcsum "
-.R " ]"
+]
 
 .in +8
 .sp
@@ -621,25 +621,25 @@ the following additional arguments are supported:
 
 .BI "ip link add " DEVICE
 .BI type " { ip6gre | ip6gretap }  " remote " ADDR " local " ADDR
-.R " [ "
+[
 .I "[i|o]seq]"
-.R " ] [ "
+] [
 .I "[i|o]key" KEY
-.R " ] [ "
+] [
 .I " [i|o]csum "
-.R " ] [ "
+] [
 .BI hoplimit " TTL "
-.R " ] [ "
+] [
 .BI encaplimit " ELIM "
-.R " ] [ "
+] [
 .BI tclass " TCLASS "
-.R " ] [ "
+] [
 .BI flowlabel " FLOWLABEL "
-.R " ] [ "
+] [
 .BI "dscp inherit"
-.R " ] [ "
+] [
 .BI dev " PHYS_DEV "
-.R " ]"
+]
 
 .in +8
 .sp
@@ -744,11 +744,11 @@ the following additional arguments are supported:
 
 .BI "ip link add " DEVICE
 .BI type " geneve " id " ID " remote " IPADDR"
-.R " [ "
+[
 .BI ttl " TTL "
-.R " ] [ "
+] [
 .BI tos " TOS "
-.R " ]"
+]
 
 .in +8
 .sp
-- 
2.4.2

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH iproute2 1/2] vxlan: fix help and man text
  2016-01-14 17:10 [PATCH iproute2 1/2] vxlan: fix help and man text Nicolas Dichtel
  2016-01-14 17:10 ` [PATCH iproute2 2/2] ip-link: fix man page warnings Nicolas Dichtel
@ 2016-01-18 19:44 ` Stephen Hemminger
       [not found] ` <fb53a0d821374fd6bed4861884861e96@HQ1WP-EXMB11.corp.brocade.com>
  2 siblings, 0 replies; 4+ messages in thread
From: Stephen Hemminger @ 2016-01-18 19:44 UTC (permalink / raw)
  To: Nicolas Dichtel; +Cc: shemminger, netdev, Thomas Faivre

On Thu, 14 Jan 2016 18:10:19 +0100
Nicolas Dichtel <nicolas.dichtel@6wind.com> wrote:

> From: Thomas Faivre <thomas.faivre@6wind.com>
> 
> Options 'group' and 'remote' cannot take 'any' as value but 'local' can.
> 
> Signed-off-by: Thomas Faivre <thomas.faivre@6wind.com>
> Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
> ---

Applied thanks.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH iproute2 2/2] ip-link: fix man page warnings
       [not found] ` <fb53a0d821374fd6bed4861884861e96@HQ1WP-EXMB11.corp.brocade.com>
@ 2016-01-18 19:45   ` Stephen Hemminger
  0 siblings, 0 replies; 4+ messages in thread
From: Stephen Hemminger @ 2016-01-18 19:45 UTC (permalink / raw)
  To: Nicolas Dichtel; +Cc: netdev@vger.kernel.org, Thomas Faivre

On Thu, 14 Jan 2016 17:10:20 +0000
Nicolas Dichtel <nicolas.dichtel@6wind.com> wrote:

> From: Thomas Faivre <thomas.faivre@6wind.com>
> 
> grff wrapper returns warnings when parsing the ip-link.8.in file.
> 
> How to reproduce:
> $ man --warnings ip-link > /dev/null
> `R' is a string (producing the registered sign), not a macro.
> [...]
> 
> Signed-off-by: Thomas Faivre <thomas.faivre@6wind.com>
> Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>

Applied thanks.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-01-18 19:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-14 17:10 [PATCH iproute2 1/2] vxlan: fix help and man text Nicolas Dichtel
2016-01-14 17:10 ` [PATCH iproute2 2/2] ip-link: fix man page warnings Nicolas Dichtel
2016-01-18 19:44 ` [PATCH iproute2 1/2] vxlan: fix help and man text Stephen Hemminger
     [not found] ` <fb53a0d821374fd6bed4861884861e96@HQ1WP-EXMB11.corp.brocade.com>
2016-01-18 19:45   ` [PATCH iproute2 2/2] ip-link: fix man page warnings Stephen Hemminger

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.