summaryrefslogtreecommitdiff
path: root/Completion/Unix/Command/_route
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Unix/Command/_route')
-rw-r--r--Completion/Unix/Command/_route6
1 files changed, 4 insertions, 2 deletions
diff --git a/Completion/Unix/Command/_route b/Completion/Unix/Command/_route
index f8426874c..06cca8d99 100644
--- a/Completion/Unix/Command/_route
+++ b/Completion/Unix/Command/_route
@@ -81,7 +81,7 @@ case $OSTYPE in
'-llinfo:validly translate proto addr to link addr'
)
;|
- (open|free)bsd*|darwin*|dragonfly*)
+ (net|open|free)bsd*|darwin*|dragonfly*)
args+=(
"-d[debug-only mode: don't update routing table]"
'-t[test-only mode: /dev/null used instead of a socket]'
@@ -89,7 +89,7 @@ case $OSTYPE in
;|
netbsd*|solaris*)
args+=( '-f[remove all routes first]' )
- ;;
+ ;|
(netbsd|darwin|dragonfly)*)
modifiers+=( '-proxy:make entry a link level proxy' )
;|
@@ -121,8 +121,10 @@ case $OSTYPE in
netbsd*)
subcmds+=( flushall 'remove all routes including the default gateway' )
args+=(
+ "-L[don't show link layer entries in routing table]"
'-S[print a space when a flag is missing to align flags]'
'-s[suppress all output from get except for the gateway]'
+ '-T[show tags in the route display]'
)
modifiers+=(
'-tag'