grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [BUG] GRUBs option parsing needs fixing


From: Vladimir 'φ-coder/phcoder' Serbinenko
Subject: Re: [BUG] GRUBs option parsing needs fixing
Date: Sun, 11 Mar 2012 03:15:15 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20120131 Thunderbird/10.0

On 11.03.2012 02:59, Andreas Vogel wrote:
> Am
>> Yes. And allowing "-s root" to continue is more important than to allow
>> -s with no argument.
> Don't get your point here. "-s" with no argument is already allowed.
> This is actually causing the "unexpected behavior" I'm talking about.
I mean that handling -s root -u UUID is more important than -u -s UUID
since former is widespread in the existing scripts.
>> We can rename ARG_OPTIONAL to ARG_OLD_OPTIONAL, make ARG_OLD_OPTIONAL to
>> behave as to ignore X in  --set X as possible argument.
> I don't understand that.
>
> The "old" behavior, e.g. for "search -s|--set", is that if there is no
> argument "-s" or "--set" needs to be followed by another option or by
> "--". In other words: any argument which is not an option that follows
> -s or --set will be taken as the argument for -s or --set. That's the
> current situation.
I mean changing the behaviour to GNU-like for long but not for short
option. And it actually matches 1.98 behaviour.
>
>
>


-- 
Regards
Vladimir 'φ-coder/phcoder' Serbinenko


Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]