about summary refs log tree commit diff
path: root/Functions/Misc/run-help-ip
diff options
context:
space:
mode:
authorMarlon Richert <marlon.richert@gmail.com>2021-09-06 13:45:36 -0700
committerBart Schaefer <schaefer@ipost.com>2021-09-06 13:47:10 -0700
commit1508dc7486636edcb54e81f6a2fcf0faf180c7fa (patch)
treecdab91cbac7e0c0b1268111ab0266173b11a4da7 /Functions/Misc/run-help-ip
parent35c87f0b3bc0ce5a22a6bf3b0f2b2a14a3993cea (diff)
downloadzsh-1508dc7486636edcb54e81f6a2fcf0faf180c7fa.tar.gz
zsh-1508dc7486636edcb54e81f6a2fcf0faf180c7fa.tar.xz
zsh-1508dc7486636edcb54e81f6a2fcf0faf180c7fa.zip
49218: run-help filters cmd_args before calling run-help-<command>
Diffstat (limited to 'Functions/Misc/run-help-ip')
-rw-r--r--Functions/Misc/run-help-ip4
1 files changed, 0 insertions, 4 deletions
diff --git a/Functions/Misc/run-help-ip b/Functions/Misc/run-help-ip
index 8807f9ef1..b811ce352 100644
--- a/Functions/Misc/run-help-ip
+++ b/Functions/Misc/run-help-ip
@@ -14,10 +14,6 @@ if ! man -w ip-address >/dev/null 2>&1; then
     return
 fi
 
-while [[ $# != 0 && $1 == -* ]]; do
-    shift
-done
-
 case $1 in
     (addrl*) man ip-addrlabel ;;
     (a*) man ip-address ;;