about summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2005-01-12 10:31:54 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2005-01-12 10:31:54 +0000
commitcbd52eae5381542862f5dae29f4d0fd0fdc36541 (patch)
tree506fbc4d450a988cb0467cecb060365e9d558243 /Completion
parentfbaf2cc044197a7b538b9230a122569218da79aa (diff)
downloadzsh-cbd52eae5381542862f5dae29f4d0fd0fdc36541.tar.gz
zsh-cbd52eae5381542862f5dae29f4d0fd0fdc36541.tar.xz
zsh-cbd52eae5381542862f5dae29f4d0fd0fdc36541.zip
20692: unset POSIXLY_CORRECT in test.
unposted: minor comment change in _perforce
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Unix/Command/_perforce4
1 files changed, 4 insertions, 0 deletions
diff --git a/Completion/Unix/Command/_perforce b/Completion/Unix/Command/_perforce
index 67aafdb4a..3455d0cf9 100644
--- a/Completion/Unix/Command/_perforce
+++ b/Completion/Unix/Command/_perforce
@@ -1830,6 +1830,10 @@ _perforce_cmd_obliterate() {
 
 (( $+functions[_perforce_cmd_opened] )) ||
 _perforce_cmd_opened() {
+  # You might think you could check for files opened on another
+  # client, and hence the -c completion should have the argument
+  # -tp, but currently Perforce doesn't allow that, so -tc is correct.
+  # This is true even if -a is also given.
   _arguments -s : \
     '-a[list for all clients]' \
     '-c+[select by change]:change:_perforce_changes -tc' \