]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
Add -[-no]-hostonly-cmdline option handling for getopt
authorWANG Chao <chaowang@redhat.com>
Mon, 3 Mar 2014 07:22:00 +0000 (15:22 +0800)
committerHarald Hoyer <harald@redhat.com>
Tue, 29 Jul 2014 09:52:06 +0000 (11:52 +0200)
commit ab9457e introduce such new options but it missed to add these
options to getopt arguments.

Signed-off-by: WANG Chao <chaowang@redhat.com>
dracut.sh

index 2d5b7dc7affb49eca66964b0a2a9964438697782..78d7fadd36b1a5633f9e83c631c30868a2c9b553 100755 (executable)
--- a/dracut.sh
+++ b/dracut.sh
@@ -347,6 +347,8 @@ TEMP=$(unset POSIXLY_CORRECT; getopt \
     --long host-only \
     --long no-hostonly \
     --long no-host-only \
+    --long hostonly-cmdline \
+    --long no-hostonly-cmdline \
     --long persistent-policy: \
     --long fstab \
     --long help \