1bf31c
From 96c6e40774a78f2509aab1260d0f6aaa3b413597 Mon Sep 17 00:00:00 2001
1bf31c
From: =?UTF-8?q?Renaud=20M=C3=A9trich?= <rmetrich@redhat.com>
1bf31c
Date: Thu, 13 Feb 2020 11:37:13 +0100
1bf31c
Subject: [PATCH] dracut.sh: added help for --regenerate-all
1bf31c
1bf31c
(cherry picked from commit cdc9cd0e41615d5f5f5af7887991a311cf5c4c7a)
1bf31c
1bf31c
Resolves: #1802522
1bf31c
---
1bf31c
 dracut.sh | 8 +++++---
1bf31c
 1 file changed, 5 insertions(+), 3 deletions(-)
1bf31c
1bf31c
diff --git a/dracut.sh b/dracut.sh
1bf31c
index 86e95449..e70dab16 100755
1bf31c
--- a/dracut.sh
1bf31c
+++ b/dracut.sh
1bf31c
@@ -182,8 +182,8 @@ Creates initial ramdisk images for preloading modules
1bf31c
   --mount "[DEV] [MP] [FSTYPE] [FSOPTS]"
1bf31c
                         Mount device [DEV] on mountpoint [MP] with filesystem
1bf31c
                         [FSTYPE] and options [FSOPTS] in the initramfs
1bf31c
-  --mount "[MP]"	Same as above, but [DEV], [FSTYPE] and [FSOPTS] are
1bf31c
-			determined by looking at the current mounts.
1bf31c
+  --mount "[MP]"        Same as above, but [DEV], [FSTYPE] and [FSOPTS] are
1bf31c
+                        determined by looking at the current mounts.
1bf31c
   --add-device "[DEV]"  Bring up [DEV] in initramfs
1bf31c
   -i, --include [SOURCE] [TARGET]
1bf31c
                         Include the files in the SOURCE directory into the
1bf31c
@@ -234,7 +234,9 @@ Creates initial ramdisk images for preloading modules
1bf31c
   --uefi                Create an UEFI executable with the kernel cmdline and
1bf31c
                         kernel combined
1bf31c
   --uefi-stub [FILE]    Use the UEFI stub [FILE] to create an UEFI executable
1bf31c
-  --kernel-image [FILE] location of the kernel image
1bf31c
+  --kernel-image [FILE] Location of the kernel image
1bf31c
+  --regenerate-all      Regenerate all initramfs images at the default location
1bf31c
+                        for the kernel versions found on the system
1bf31c
 
1bf31c
 If [LIST] has multiple arguments, then you have to put these in quotes.
1bf31c
 
1bf31c