diff options
author | tobez <tobez@FreeBSD.org> | 2005-09-28 12:12:15 +0000 |
---|---|---|
committer | tobez <tobez@FreeBSD.org> | 2005-09-28 12:12:15 +0000 |
commit | 86c9a041d367c968076fcabd3108618942a19a5b (patch) | |
tree | e82e16196f91e60b4ac3faf880c24c3c79f611f5 /sbin | |
parent | 72bed50604698210b5986e63729ed0140684a8af (diff) | |
download | FreeBSD-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/keywords | 1 | ||||
-rw-r--r-- | sbin/route/route.8 | 6 | ||||
-rw-r--r-- | sbin/route/route.c | 1 |
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 */ |