~ubuntu-branches/ubuntu/oneiric/zsh/oneiric

« back to all changes in this revision

Viewing changes to Completion/Unix/Command/_cp

  • Committer: Bazaar Package Importer
  • Author(s): Angel Abad
  • Date: 2011-01-09 23:10:24 UTC
  • mfrom: (2.1.25 sid)
  • Revision ID: james.westby@ubuntu.com-20110109231024-7egfs040r26fq7fa
Tags: 4.3.11-1ubuntu1
* Merge from debian unstable. (LP: #700695) Remaining changes:
  - debian/zshrc: Enable completions by default, unless
    skip_global_compinit is set

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
_arguments -s \
4
4
  '(-a --archive)'{-a,--archive}'[same as -dpR]' \
5
5
  '(-b --backup)-b[backup]' \
6
 
  '(-b --backup)--backup=:method:(none off numbered t existing nil simple never)' \
 
6
  '(-b --backup)--backup=[backup]:method:(none off numbered t existing nil simple never)' \
7
7
  '--copy-contents[copy contents of special files when recursive]' \
8
 
  '-d[same as --no-dereference --preserve=link]' \
 
8
  '-d[same as --no-dereference --preserve=links]' \
9
9
  '(-f --force)'{-f,--force}'[remove and retry for destinations that cannot be opened]' \
10
10
  '(-i --interactive)'{-i,--interactive}'[prompt before overwrite]' \
11
11
  '-H[follow command-line symbolic links]' \
12
12
  '(-l --link)'{-l,--link}'[link files instead of copying]' \
13
13
  '(-L --dereference)'{-L,--dereference}'[always follow symbolic links]' \
 
14
  '(-n --no-clobber)'{-n,--no-clobber}'[do not overwrite an existing file]' \
 
15
  '(-P --no-dereference)'{-P,--no-dereference}'[never follow symbolic links]' \
14
16
  '-p[same as --preserve=mode,ownership,timestamps]' \
15
 
  '--preserve=:attributes to preserve:_values -s , attribute mode ownership timestamps links all' \
16
 
  '--no-preserve=:attributes not to preserve:_values -s , attribute mode ownership timestamps links all' \
 
17
  '--preserve=[preserve specified attributes]:attributes to preserve:_values -s , mode timestamps ownership links context xattr all' \
 
18
  '--no-preserve=[don'\''t preserve specified attributes]:attributes not to preserve:_values -s , mode timestamps ownership links context xattr all' \
17
19
  '--parents[append source path to target directory]' \
18
 
  '-P[same as --no-dereference]' \
19
20
  '(-R -r --recursive)'{-R,-r,--recursive}'[copy directories recursively]' \
 
21
  '--reflink=[control clone/CoW copies]:when to perform a lightweight copy:(always auto)' \
20
22
  '--remove-destination[remove each existing destination file before attempting to open it]' \
21
 
  '--reply=:how to handle the prompt about an existing destination file:(yes no query)' \
22
 
  '--sparse=:when to create sparse files:(auto always never)' \
 
23
  '--sparse=[control creation of sparse files]:when to create sparse files:(auto always never)' \
23
24
  '--strip-trailing-slashes[remove any trailing slashes from each source argument]' \
24
25
  '(-s --symbolic-link)'{-s,--symbolic-link}'[make symbolic links instead of copies of non-directories]' \
25
 
  '(-S --suffix)'{-S,--suffix=}':backup suffix:' \
26
 
  '--target-directory=:target directory:_files -/' \
 
26
  '(-S --suffix)'{-S,--suffix=}'[override the usual backup suffix]:backup suffix:' \
 
27
  '(-t --target-directory)'{-t,--target-directory=}'[copy all source arguments into target directory]:target directory:_files -/' \
 
28
  '(-T --no-target-directory)'{-T,--no-target-directory}'[treat DEST as a normal file]' \
27
29
  '(-u --update)'{-u,--update}'[copy only when source is newer than destination or destination is missing]' \
28
30
  '(-v --verbose)'{-v,--verbose}'[explain what is being done]' \
29
31
  '(-x --one-file-system)'{-x,--one-file-system}'[stay on this file system]' \