Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Sep 2005 15:56:49 +0200
From:      Anton Berezin <tobez@FreeBSD.org>
To:        arch@FreeBSD.org
Subject:   [CFR] Introduce "route del" as a synonym to "route delete"
Message-ID:  <20050923135649.GD25534@heechee.tobez.org>

next in thread | raw e-mail | index | archive | help
Any objections?

Index: keywords
===================================================================
RCS file: /home/ncvs/src/sbin/route/keywords,v
retrieving revision 1.5
diff -u -r1.5 keywords
--- keywords	12 Jun 2001 13:31:53 -0000	1.5
+++ keywords	23 Sep 2005 13:21:42 -0000
@@ -6,6 +6,7 @@
 blackhole
 change
 cloning
+del
 delete
 dst
 expire
Index: route.8
===================================================================
RCS file: /home/ncvs/src/sbin/route/route.8,v
retrieving revision 1.44
diff -u -r1.44 route.8
--- route.8	13 Feb 2005 22:25:16 -0000	1.44
+++ route.8	23 Sep 2005 13:26:10 -0000
@@ -83,13 +83,15 @@
 .Pp
 The
 .Nm
-utility provides six commands:
+utility provides seven commands:
 .Pp
 .Bl -tag -width Fl -compact
 .It Cm add
 Add a route.
 .It Cm flush
 Remove all routes.
+.It Cm del
+Delete a specific route.
 .It Cm delete
 Delete a specific route.
 .It Cm change
Index: route.c
===================================================================
RCS file: /home/ncvs/src/sbin/route/route.c,v
retrieving revision 1.79
diff -u -r1.79 route.c
--- route.c	23 May 2005 14:12:32 -0000	1.79
+++ route.c	23 Sep 2005 13:21:50 -0000
@@ -174,6 +174,7 @@
 
 		case K_CHANGE:
 		case K_ADD:
+		case K_DEL:
 		case K_DELETE:
 			newroute(argc, argv);
 			/* NOTREACHED */

-- 
An undefined problem has an infinite number of solutions.
-- Robert A. Humphrey



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050923135649.GD25534>