summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Debian/Command/.distfiles2
-rw-r--r--Completion/Debian/Command/_debchange15
2 files changed, 16 insertions, 1 deletions
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:'