about summary refs log tree commit diff
diff options
context:
space:
mode:
authorOpenSauce <opensauce04@gmail.com>2024-01-18 23:31:03 +0000
committerOliver Kiddle <opk@zsh.org>2024-01-26 07:26:47 +0100
commit742049a4cbd9c4f1683081cb812aef994415f112 (patch)
tree135d37efcffc3862c78a360e6034e189d37c49b3
parent0119a57e9c3724a6ff72247d278163dc3e507328 (diff)
downloadzsh-742049a4cbd9c4f1683081cb812aef994415f112.tar.gz
zsh-742049a4cbd9c4f1683081cb812aef994415f112.tar.xz
zsh-742049a4cbd9c4f1683081cb812aef994415f112.zip
github #110: Fix incorrect completion for `dnf --showduplicates`
-rw-r--r--ChangeLog3
-rw-r--r--Completion/Redhat/Command/_dnf2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 1e8ddc599..280eac2de 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2024-01-26  Oliver Kiddle  <opk@zsh.org>
 
+	* github #110: opensauce04: Completion/Redhat/Command/_dnf:
+	Fix incorrect completion for `dnf --showduplicates`
+
 	* github #108: Aurélien Olivier: Completion/Unix/Command/_perlbrew:
 	add perlbrew completion
 
diff --git a/Completion/Redhat/Command/_dnf b/Completion/Redhat/Command/_dnf
index ce111f38f..a5edf8564 100644
--- a/Completion/Redhat/Command/_dnf
+++ b/Completion/Redhat/Command/_dnf
@@ -245,7 +245,7 @@ _dnf() {
     '--security[include security relevant packages]'
     '*--setopt=[override config option]:repoid.option=value: '
     '--skip-broken[resolve depsolve problems by skipping packages]'
-    '--show-duplicates[show duplicate packages in repos]'
+    '--showduplicates[show duplicate packages in repos]'
     '(-v --verbose)'{-v,--verbose}'[set verbose, show debug messages]'
     '(- *)--version[show dnf version]'
     '(-y --assumeyes --assumeno)'{-y,--assumeyes}'[answer yes for all questions]'