Re: Checking parametres that are not inside an option

2007-06-12 Thread Marco Gerards
adrian15 <[EMAIL PROTECTED]> writes: > If you take a look at search.c you can see that the -s parametrer is > checked outside the command thanks to the ARG_TYPE_STRING constant. > > {"set", 's', GRUB_ARG_OPTION_OPTIONAL, "set a variable to the first > device found", "VAR", ARG_TYPE_STRING} > > > I

Checking parametres that are not inside an option

2007-06-12 Thread adrian15
If you take a look at search.c you can see that the -s parametrer is checked outside the command thanks to the ARG_TYPE_STRING constant. {"set", 's', GRUB_ARG_OPTION_OPTIONAL, "set a variable to the first device found", "VAR", ARG_TYPE_STRING} If I want not to check if an argument command that