netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] iproute2: revert syntax help text mistake.
@ 2008-01-02 23:47 Andreas Henriksson
  2008-01-02 23:49 ` [PATCH] iproute2: add synonyms for ip rule options to ip(8) manpage Andreas Henriksson
  0 siblings, 1 reply; 3+ messages in thread
From: Andreas Henriksson @ 2008-01-02 23:47 UTC (permalink / raw)
  To: Stephen Hemminger; +Cc: netdev

Sorry. The pref and prio options are actually synonyms.
This reverts part of commit 576c63ee59de3f18bec4ebd8181a5a395f268d03.

Signed-off-by: Andreas Henriksson <andreas@fatal.se>

--- a/ip/iprule.c
+++ b/ip/iprule.c
@@ -38,7 +38,7 @@ static void usage(void)
 {
 	fprintf(stderr, "Usage: ip rule [ list | add | del | flush ] SELECTOR ACTION\n");
 	fprintf(stderr, "SELECTOR := [ not ] [ from PREFIX ] [ to PREFIX ] [ tos TOS ] [ fwmark FWMARK[/MASK] ]\n");
-	fprintf(stderr, "            [ dev STRING ] [ pref NUMBER ] [ prio NUMBER ]\n");
+	fprintf(stderr, "            [ dev STRING ] [ pref NUMBER ]\n");
 	fprintf(stderr, "ACTION := [ table TABLE_ID ]\n");
 	fprintf(stderr, "          [ prohibit | reject | unreachable ]\n");
 	fprintf(stderr, "          [ realms [SRCREALM/]DSTREALM ]\n");



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

* [PATCH] iproute2: add synonyms for ip rule options to ip(8) manpage.
  2008-01-02 23:47 [PATCH] iproute2: revert syntax help text mistake Andreas Henriksson
@ 2008-01-02 23:49 ` Andreas Henriksson
  2008-01-03  0:32   ` Stephen Hemminger
  0 siblings, 1 reply; 3+ messages in thread
From: Andreas Henriksson @ 2008-01-02 23:49 UTC (permalink / raw)
  To: Stephen Hemminger; +Cc: netdev

commit 355e1438f73602fbac029d28891dfa889471b679
Author: Andreas Henriksson <andreas@fatal.se>
Date:   Wed Jan 2 23:21:59 2008 +0100

    Add synonyms for ip rule options to ip(8) manpage.
    
    See:
    http://bugs.debian.org/433507
    http://bugs.debian.org/213673

diff --git a/man/man8/ip.8 b/man/man8/ip.8
index c74440a..1a57a42 100644
--- a/man/man8/ip.8
+++ b/man/man8/ip.8
@@ -1568,10 +1568,12 @@ the priority of this rule.  Each rule should have an explicitly
 set
 .I unique
 priority value.
+The options preference and order are synonyms with priority.
 
 .TP
 .BI table " TABLEID"
 the routing table identifier to lookup if the rule selector matches.
+It is also possible to use lookup instead of table.
 
 .TP
 .BI realms " FROM/TO"
@@ -1589,6 +1591,7 @@ may be either the start of the block of NAT addresses (selected by NAT
 routes) or a local host address (or even zero).
 In the last case the router does not translate the packets, but
 masquerades them to this address.
+Using map-to instead of nat means the same thing.
 
 .B Warning:
 Changes to the RPDB made with these commands do not become active
@@ -1601,6 +1604,7 @@ This command has no arguments.
 
 .SS ip rule show - list rules
 This command has no arguments.
+The options list or lst are synonyms with show.
 
 .SH ip maddress - multicast addresses management
 



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

* Re: [PATCH] iproute2: add synonyms for ip rule options to ip(8) manpage.
  2008-01-02 23:49 ` [PATCH] iproute2: add synonyms for ip rule options to ip(8) manpage Andreas Henriksson
@ 2008-01-03  0:32   ` Stephen Hemminger
  0 siblings, 0 replies; 3+ messages in thread
From: Stephen Hemminger @ 2008-01-03  0:32 UTC (permalink / raw)
  To: Andreas Henriksson; +Cc: netdev

On Thu, 03 Jan 2008 00:49:11 +0100
Andreas Henriksson <andreas@fatal.se> wrote:

> commit 355e1438f73602fbac029d28891dfa889471b679
> Author: Andreas Henriksson <andreas@fatal.se>
> Date:   Wed Jan 2 23:21:59 2008 +0100
> 
>     Add synonyms for ip rule options to ip(8) manpage.
>     
>     See:
>     http://bugs.debian.org/433507
>     http://bugs.debian.org/213673
> 
> diff --git a/man/man8/ip.8 b/man/man8/ip.8
> index c74440a..1a57a42 100644
> --- a/man/man8/ip.8
> +++ b/man/man8/ip.8
> @@ -1568,10 +1568,12 @@ the priority of this rule.  Each rule should have an explicitly
>  set
>  .I unique
>  priority value.
> +The options preference and order are synonyms with priority.
>  
>  .TP
>  .BI table " TABLEID"
>  the routing table identifier to lookup if the rule selector matches.
> +It is also possible to use lookup instead of table.
>  
>  .TP
>  .BI realms " FROM/TO"
> @@ -1589,6 +1591,7 @@ may be either the start of the block of NAT addresses (selected by NAT
>  routes) or a local host address (or even zero).
>  In the last case the router does not translate the packets, but
>  masquerades them to this address.
> +Using map-to instead of nat means the same thing.
>  
>  .B Warning:
>  Changes to the RPDB made with these commands do not become active
> @@ -1601,6 +1604,7 @@ This command has no arguments.
>  
>  .SS ip rule show - list rules
>  This command has no arguments.
> +The options list or lst are synonyms with show.
>  
>  .SH ip maddress - multicast addresses management
>  
> 
> 

applied both.

-- 
Stephen Hemminger <stephen.hemminger@vyatta.com>

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

end of thread, other threads:[~2008-01-03  0:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-02 23:47 [PATCH] iproute2: revert syntax help text mistake Andreas Henriksson
2008-01-02 23:49 ` [PATCH] iproute2: add synonyms for ip rule options to ip(8) manpage Andreas Henriksson
2008-01-03  0:32   ` Stephen Hemminger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).