summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dracut-bash-completion.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/dracut-bash-completion.sh b/dracut-bash-completion.sh
index 38e2ebd9..322e630b 100644
--- a/dracut-bash-completion.sh
+++ b/dracut-bash-completion.sh
@@ -51,6 +51,9 @@ _dracut() {
-a|-m|-o|--add|--modules|--omit)
comps=$(dracut --list-modules 2>/dev/null)
;;
+ --kver)
+ comps=$(cd /lib/modules; echo *)
+ ;;
*)
return 0
;;