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

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