From: adrian15 <adrian15@raulete.net>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Checking parametres that are not inside an option
Date: Tue, 12 Jun 2007 13:57:19 +0200 [thread overview]
Message-ID: <466E8A1F.3090006@raulete.net> (raw)
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 it IS NOT inside an
option is something (a disk, i.e.) or not... how do I do it?
I mean I want something like:
map (hd0) (hd1)
to be checked outside the command without using:
map -disk1 (hd0) -disk2 (hd1)
and the correspondent option definition at map.c
how do I do it ?
adrian15
next reply other threads:[~2007-06-12 13:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-12 11:57 adrian15 [this message]
2007-06-12 17:19 ` Checking parametres that are not inside an option Marco Gerards
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=466E8A1F.3090006@raulete.net \
--to=adrian15@raulete.net \
--cc=grub-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.