about summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Debian/_apt5
-rw-r--r--Completion/User/_patch2
2 files changed, 5 insertions, 2 deletions
diff --git a/Completion/Debian/_apt b/Completion/Debian/_apt
index fe909bda3..7654ce1fe 100644
--- a/Completion/Debian/_apt
+++ b/Completion/Debian/_apt
@@ -374,6 +374,8 @@ _apt-get () {
     --no-upgrade:bool \
     --force-yes:bool \
     --print-uris:bool \
+    --purge:bool \
+    --list-cleanup:bool \
     -c,--config-file:configfile \
     -o,--option:arbitem \
     -- \
@@ -425,7 +427,8 @@ _apt-cache () {
     /$'check\0' \| \
     /$'search\0' \| \
     /$'show\0' \| \
-    /"[]"	!'compadd "$expl_action[@]" help add gencaches showpkg stats dump dumpavail unmet check search show'
+    /$'depends\0' \| \
+    /"[]"	!'compadd "$expl_action[@]" help add gencaches showpkg stats dump dumpavail unmet check search show depends'
 
   _apt-cache () {
     local expl_action expl_packages expl_pkg_cache expl_src_cache
diff --git a/Completion/User/_patch b/Completion/User/_patch
index 6be2afd62..2b6ad5f94 100644
--- a/Completion/User/_patch
+++ b/Completion/User/_patch
@@ -24,7 +24,7 @@ _arguments -s \
   '(--ifdef)-D+:name:' \
   '(--version-control)-V+:version control style:(simple numbered existing)' \
   '(--prefix)-B+:backup path prefix:' \
-  '(--suffix)-b:backup extension:' \
+  '(--suffix)-b+:backup extension:' \
   '-Y+:backup basename prefix:_files' \
   '-z+:backup file suffix:(.bak)' \
   '-g+:NUM:' \