On Tue, Dec 24, 2013 at 11:46:00AM +0400, Andrey Borzenkov wrote:
> On Tue, Dec 24, 2013 at 11:28 AM, Michael Chang <mch...@suse.com> wrote:
> >
> > And very thankful for the "$1" magic, it heals my headache of variable
> > assignment per each (sub)menu entries.
> >
> 
> "$1" is always menu entry title, you probably mean "$2" :)

You're right. $2 is correct. 

I think people would intutively map $0 to argv0 and $1 to argv1 and
is wrong here. :)

Thanks,
Michael

> 
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/grub-devel

_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to