[CFR] Introduce "route del" as a synonym to "route delete"
Anton Berezin
tobez at FreeBSD.org
Fri Sep 23 06:56:51 PDT 2005
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
More information about the freebsd-arch
mailing list