File: _dpatch-edit-patch

package info (click to toggle)
zsh 5.8-6%2Bdeb11u1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 23,708 kB
  • sloc: ansic: 107,536; sh: 6,871; makefile: 726; perl: 687; awk: 389; sed: 16
file content (17 lines) | stat: -rw-r--r-- 1,275 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#compdef dpatch-edit-patch

_arguments \
  '(-d --description)'{-d,--description=}'[description for the new patch, if applicable]' \
  '(-o --outdir)'{-o,--outdir=}'[output directory for patches]:patch output directory:_files -/' \
  '(-s --sourcedir)'{-s,--sourcedir=}'[source directory]:source directory:_files -/' \
  '(-t --tmpdir)'{-t,--tmpdir=}'[temporary directory]:temporary directory:_files -/' \
  '(-p --stampdir)'{-p,--stampdir=}'[stamp directory]:stamp directory:_files -/' \
  '(-e --exclude)'{-e,--exclude}'[list of files and directories to be excluded]:excluded files and directories:_files' \
  '(-b --debianonly)'{-b,--debianonly=}'[unpack .orig.tar.gz before invoking the shell]:path to .orig.tar.gz:_files' \
  '(-k --keeptemp)'{-k,--keeptemp}'[keep working source tree after exit]' \
  '(-c --clean)'{-c,--clean}'[clean the current directory]' \
  '(-l --shell)'{-l,--shell=}'[shell to be invoked]:shell:' \
  '(-P --origtargzpath)'{-P,--origtargzpath=}'[colon-separated list of paths containing upstream tarballs, use with -b]:path to upstream tarballs:_dir_list' \
  '(-h --help)'{-h,--help}'[help text]' \
  '1:patch name:_files -W $PWD/debian/patches -g \*.dpatch\(-.\:r\)' \
  '2:base patch name:_files -W $PWD/debian/patches -g \*.dpatch\(-.\:r\)'