summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--Completion/Debian/Command/.distfiles2
-rw-r--r--Completion/Debian/Command/_debchange15
3 files changed, 22 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 2536ad17c..9523f9b60 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2001-10-10  Clint Adams  <clint@zsh.org>
+
+	* 16000: Completion/Debian/Command/.distfiles,
+	Completion/Debian/Command/_debchange:
+	completion for debchange (dch).
+
 2001-10-09  Sven Wischnowsky  <wischnow@zsh.org>
 
 	* 15995: Completion/Unix/Type/_files, Doc/Zsh/compsys.yo:
diff --git a/Completion/Debian/Command/.distfiles b/Completion/Debian/Command/.distfiles
index 0da6eee28..f8bd565d8 100644
--- a/Completion/Debian/Command/.distfiles
+++ b/Completion/Debian/Command/.distfiles
@@ -1,5 +1,5 @@
 DISTFILES_SRC='
 .distfiles
-_apt	_bts	_bug	_dpkg         _dpkg_source  _dupload
+_apt	_bts	_bug  _debchange _dpkg       _dpkg_source  _dupload
 _update-alternatives
 '
diff --git a/Completion/Debian/Command/_debchange b/Completion/Debian/Command/_debchange
new file mode 100644
index 000000000..689329370
--- /dev/null
+++ b/Completion/Debian/Command/_debchange
@@ -0,0 +1,15 @@
+#compdef debchange dch=debchange
+
+_arguments \
+    '(--help)-h[help]' \
+    '(-h)--help' \
+    '--version' \
+    '(--append -a --newversion -v --increment)-i[increment]' \
+    '(--append -a --newversion -v -i)--increment' \
+    '(--increment -i --newversion -v --append)-a[append]' \
+    '(--increment -i --newversion -v -a)--append' \
+    '(--append -a --increment -i --newversion)-v[newversion]:version:' \
+    '(--append -a --increment -i -v)--newversion:version:' \
+    '(--preserve)-p[preserve]' \
+    '(-p)--preserve' \
+    ':text:'