From 1abd8348d0d914ca952c332394ae24ead1610af4 Mon Sep 17 00:00:00 2001 From: Clint Adams Date: Sat, 29 Sep 2007 11:08:37 +0000 Subject: Julien BLACHE: 23852: completion for dpatch-edit-patch. --- ChangeLog | 4 ++++ Completion/Debian/Command/_dpatch-edit-patch | 17 +++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 Completion/Debian/Command/_dpatch-edit-patch diff --git a/ChangeLog b/ChangeLog index 401997838..c38f86a3b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2007-09-29 Clint Adams + * Julien BLACHE: 23852: + Completion/Debian/Command/_dpatch-edit-patch: completion for + dpatch-edit-patch. + * Pierre Habouzit: 23851: Completion/Unix/Command/_git: use ad-hoc functions to list git branches and tags. diff --git a/Completion/Debian/Command/_dpatch-edit-patch b/Completion/Debian/Command/_dpatch-edit-patch new file mode 100644 index 000000000..cc74d54d9 --- /dev/null +++ b/Completion/Debian/Command/_dpatch-edit-patch @@ -0,0 +1,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]' \ + '(-P --origtargzpath)'{-P,--origtargzpath=}'[colon-separated list of paths containing upstream tarballs, use with -b]:Path to upstream tarballs:_files -/' \ + '(-h --help)'{-h,--help}'[Help text]' \ + '1:Patch name:_files -W $PWD/debian/patches -g "*.dpatch"' \ + '2:Base patch name:_files -W $PWD/debian/patches -g "*.dpatch"' -- cgit 1.4.1