From mboxrd@z Thu Jan 1 00:00:00 1970 From: Harald Hoyer Subject: Re: [PATCH] Add -[-no]-hostonly-cmdline option handling for getopt Date: Mon, 03 Mar 2014 12:46:54 +0100 Message-ID: <53146BAE.9060903@redhat.com> References: <20140303072200.GA20357@dhcp-17-89.nay.redhat.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20140303072200.GA20357-2coKmSd1Zb6BYdNaKHuJJRcY2uh10dtjAL8bYrjMMd8@public.gmane.org> Sender: initramfs-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: Content-Type: text/plain; charset="us-ascii" To: WANG Chao Cc: initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Vivek Goyal On 03/03/2014 08:22 AM, WANG Chao wrote: > commit ab9457e introduce such new options but it missed to add these > options to getopt arguments. > > Signed-off-by: WANG Chao > --- > dracut.sh | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/dracut.sh b/dracut.sh > index 74640ad..79c59d5 100755 > --- a/dracut.sh > +++ b/dracut.sh > @@ -349,6 +349,8 @@ rearrange_params() > --long host-only \ > --long no-hostonly \ > --long no-host-only \ > + --long hostonly-cmdline \ > + --long no-hostonly-cmdline \ > --long persistent-policy: \ > --long fstab \ > --long help \ > oh, good catch! Thanks!