Skip to content

Commit

Permalink
Add bash completion for 'dnf module' (RhBug:1565614)
Browse files Browse the repository at this point in the history
  • Loading branch information
inknos committed Feb 13, 2020
1 parent fc31c50 commit 1301317
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions etc/bash_completion.d/dnf
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ __dnf_secseverity_subcmds='Critical Important Low Moderate'

__dnf_clean_subcmds="all dbcache expire-cache metadata packages"

__dnf_module_subcmds="install remove update enable disable reset provides list info repoquery"

__dnf_repoquery_subcmds="
-a -f -i -l -s
--all --arch
Expand Down Expand Up @@ -304,6 +306,11 @@ _dnf()
complete_commands="timer"
;;

module)
extra_options="--enabled --disabled --installed --profile --available --all"
complete_commands="$__dnf_module_subcmds"
;;

provides)
;;

Expand Down

0 comments on commit 1301317

Please sign in to comment.