Blame SOURCES/0144-Add-no-hostonly-cmdline-option-handling-for-getopt.patch

a56a5e
From e2e32cd02febaf26b9cd0b17de9f02256dd72cb2 Mon Sep 17 00:00:00 2001
966cef
From: WANG Chao <chaowang@redhat.com>
966cef
Date: Mon, 3 Mar 2014 15:22:00 +0800
966cef
Subject: [PATCH] Add -[-no]-hostonly-cmdline option handling for getopt
966cef
966cef
commit ab9457e introduce such new options but it missed to add these
966cef
options to getopt arguments.
966cef
966cef
Signed-off-by: WANG Chao <chaowang@redhat.com>
966cef
---
966cef
 dracut.sh | 2 ++
966cef
 1 file changed, 2 insertions(+)
966cef
966cef
diff --git a/dracut.sh b/dracut.sh
1755ca
index 2d5b7dc7..78d7fadd 100755
966cef
--- a/dracut.sh
966cef
+++ b/dracut.sh
966cef
@@ -347,6 +347,8 @@ TEMP=$(unset POSIXLY_CORRECT; getopt \
966cef
     --long host-only \
966cef
     --long no-hostonly \
966cef
     --long no-host-only \
966cef
+    --long hostonly-cmdline \
966cef
+    --long no-hostonly-cmdline \
966cef
     --long persistent-policy: \
966cef
     --long fstab \
966cef
     --long help \