diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2008-05-14 15:56:50 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2008-05-14 15:56:50 +0000 |
commit | 5e373b83a53c739fc6f53a632a1280179723b820 (patch) | |
tree | 204df0eba63951143601464a03eb0811d65d6528 /Completion | |
parent | e77c7c284464aadb15ddaf270d26f5b534d04830 (diff) | |
download | zsh-5e373b83a53c739fc6f53a632a1280179723b820.tar.gz zsh-5e373b83a53c739fc6f53a632a1280179723b820.tar.xz zsh-5e373b83a53c739fc6f53a632a1280179723b820.zip |
unposted: handle p4 sizes and license completion
Diffstat (limited to 'Completion')
-rw-r--r-- | Completion/Unix/Command/_perforce | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Completion/Unix/Command/_perforce b/Completion/Unix/Command/_perforce index a1308ffa5..8d4e7b4aa 100644 --- a/Completion/Unix/Command/_perforce +++ b/Completion/Unix/Command/_perforce @@ -2006,6 +2006,14 @@ _perforce_cmd_labelsync() { } +(( $+functions[_perforce_cmd_license] )) || +_perforce_cmd_license() { + _arguments -s : \ + '-o[write license to stdout]' \ + '-i[read license from stdin]' +} + + (( $+functions[_perforce_cmd_lock] )) || _perforce_cmd_lock() { _arguments -s : \ @@ -2207,6 +2215,16 @@ _perforce_cmd_set() { } +(( $+functions[_perforce_cmd_sizes] )) || +_perforce_cmd_sizes() { + _arguments -s : \ + '-a[show for all revisions]' \ + '-b[set blocksize]:blocksize in bytes: ' \ + '-s[sum the file sizes]' \ + '*:file:_perforce_files -tR' +} + + (( $+functions[_perforce_cmd_spec] )) || _perforce_cmd_spec() { _arguments -s : \ |