[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Parse commandline in grub-xen
From: |
Olaf Hering |
Subject: |
Re: [PATCH] Parse commandline in grub-xen |
Date: |
Mon, 11 May 2015 19:08:11 +0200 |
User-agent: |
Mutt/1.5.22.rev6346 (2013-10-29) |
On Mon, May 11, Andrei Borzenkov wrote:
> В Mon, 11 May 2015 14:15:54 +0200
> Olaf Hering <address@hidden> пишет:
>
> > On Mon, May 11, Andrei Borzenkov wrote:
> >
> > > Either by allowing ${grub.arg.XXX} (not sure if current grammar accepts
> > > it) or by adding getarg command, something like
> > >
> > > getarg --name debug --set debug
> >
> > What would such format buy us?
>
> Make it possible for you, as script author, have control over which
> arguments and how are used.
'if [ -n "${name}" ]' is simpler than
'getarg --name name --set name;if [ -n "${name}"]'.
Not sure if 'if $cmd' is supposed to work, but either way your proposal
looks strange.
And regarding $debug itself, with my change its set very early before
any script runs. Perhaps that is useful to debug early issues.
Olaf
- Re: [PATCH] Parse commandline in grub-xen, (continued)
- Re: [PATCH] Parse commandline in grub-xen, Andrei Borzenkov, 2015/05/11
- Re: [PATCH] Parse commandline in grub-xen, Olaf Hering, 2015/05/11
- Re: [PATCH] Parse commandline in grub-xen, Vladimir 'phcoder' Serbinenko, 2015/05/11
- Re: [PATCH] Parse commandline in grub-xen, Olaf Hering, 2015/05/11
- Re: [PATCH] Parse commandline in grub-xen, Vladimir 'phcoder' Serbinenko, 2015/05/11
- Re: [PATCH] Parse commandline in grub-xen, Andrei Borzenkov, 2015/05/11
- Re: [PATCH] Parse commandline in grub-xen,
Olaf Hering <=
- Re: [PATCH] Parse commandline in grub-xen, Vladimir 'phcoder' Serbinenko, 2015/05/11
- Re: [PATCH] Parse commandline in grub-xen, Olaf Hering, 2015/05/12
- Re: [PATCH] Parse commandline in grub-xen, Vladimir 'phcoder' Serbinenko, 2015/05/12
- Re: [PATCH] Parse commandline in grub-xen, Olaf Hering, 2015/05/12
- Re: [PATCH] Parse commandline in grub-xen, Vladimir 'phcoder' Serbinenko, 2015/05/12
- Re: [PATCH] Parse commandline in grub-xen, Vladimir 'phcoder' Serbinenko, 2015/05/11
- Re: [PATCH] Parse commandline in grub-xen, Andrei Borzenkov, 2015/05/11
- Message not available
- Re: [PATCH] Parse commandline in grub-xen, Andrei Borzenkov, 2015/05/11
- Re: [PATCH] Parse commandline in grub-xen, Vladimir 'phcoder' Serbinenko, 2015/05/11
- Re: [PATCH] Parse commandline in grub-xen, Michael Chang, 2015/05/11