Fix bug in kldload completion (also reported upstream).

Approved by:	bapt@
This commit is contained in:
Dag-Erling Smørgrav 2017-03-30 12:41:08 +00:00
parent 3d632fbe8e
commit 3d7c7f2ece
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=437285
2 changed files with 12 additions and 0 deletions

View file

@ -3,6 +3,7 @@
PORTNAME= zsh
DISTVERSION= 5.3.1
PORTREVISION= 1
CATEGORIES= shells
MASTER_SITES= http://www.zsh.org/pub/ \
SF \

View file

@ -0,0 +1,11 @@
--- Completion/BSD/Command/_kld.orig
+++ Completion/BSD/Command/_kld
@@ -26,7 +26,7 @@
case "$service" in
kldload)
_arguments -s -S -A "-*" \
- "-n[don't try to load module if already loaded]"
+ "-n[don't try to load module if already loaded]" \
'-v[be verbose]' \
'-q[silence any extraneous warnings]' \
'*:module to load:_kld_module'