summaryrefslogtreecommitdiff
path: root/Completion/Unix/Command/_mktemp
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Unix/Command/_mktemp')
-rw-r--r--Completion/Unix/Command/_mktemp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Unix/Command/_mktemp b/Completion/Unix/Command/_mktemp
index 4b5bf99f7..03fc89e36 100644
--- a/Completion/Unix/Command/_mktemp
+++ b/Completion/Unix/Command/_mktemp
@@ -30,9 +30,9 @@ fi
args=( ${args:#((#s)|*\))(\*|)-t*} )
args+=( '-t[generate template relative to temp dir]' )
# Dragonfly, FreeBSD, and Darwin take an argument to -t and support any number
- # of template files
+ # of template files. These OSes do not have -p and -V.
else
- args=( ${args:#((#s)|*\))(1:*|(\*|)-t*)} )
+ args=( ${args:#((#s)|*\))(1:*|(\*|)-[ptV]*)} )
args+=(
'-t[generate template relative to temp dir using specified prefix]:template prefix'
'*: :_guard "^-*" "template name"'