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

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