summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authortobez <tobez@FreeBSD.org>2005-09-28 12:12:15 +0000
committertobez <tobez@FreeBSD.org>2005-09-28 12:12:15 +0000
commit86c9a041d367c968076fcabd3108618942a19a5b (patch)
treee82e16196f91e60b4ac3faf880c24c3c79f611f5 /sbin
parent72bed50604698210b5986e63729ed0140684a8af (diff)
downloadFreeBSD-src-86c9a041d367c968076fcabd3108618942a19a5b.zip
FreeBSD-src-86c9a041d367c968076fcabd3108618942a19a5b.tar.gz
Introduce "route del" as an alias to "route delete".
Reviewed by: arch
Diffstat (limited to 'sbin')
-rw-r--r--sbin/route/keywords1
-rw-r--r--sbin/route/route.86
-rw-r--r--sbin/route/route.c1
3 files changed, 7 insertions, 1 deletions
diff --git a/sbin/route/keywords b/sbin/route/keywords
index 18f995d..130fcd1 100644
--- a/sbin/route/keywords
+++ b/sbin/route/keywords
@@ -6,6 +6,7 @@ atalk
blackhole
change
cloning
+del
delete
dst
expire
diff --git a/sbin/route/route.8 b/sbin/route/route.8
index 414d710..0ee3cc1 100644
--- a/sbin/route/route.8
+++ b/sbin/route/route.8
@@ -83,7 +83,7 @@ commands.
.Pp
The
.Nm
-utility provides six commands:
+utility provides the following commands:
.Pp
.Bl -tag -width Fl -compact
.It Cm add
@@ -92,6 +92,10 @@ Add a route.
Remove all routes.
.It Cm delete
Delete a specific route.
+.It Cm del
+Another name for the
+.Cm delete
+command.
.It Cm change
Change aspects of a route (such as its gateway).
.It Cm get
diff --git a/sbin/route/route.c b/sbin/route/route.c
index 2169127..2edea13 100644
--- a/sbin/route/route.c
+++ b/sbin/route/route.c
@@ -174,6 +174,7 @@ main(argc, argv)
case K_CHANGE:
case K_ADD:
+ case K_DEL:
case K_DELETE:
newroute(argc, argv);
/* NOTREACHED */
OpenPOWER on IntegriCloud