mirror of
https://github.com/ipxe/ipxe
synced 2025-12-19 19:49:45 +03:00
[parseopt] Allow "prompt" command to accept character literals for --key
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -302,7 +302,7 @@ struct prompt_options {
|
||||
/** "prompt" option list */
|
||||
static struct option_descriptor prompt_opts[] = {
|
||||
OPTION_DESC ( "key", 'k', required_argument,
|
||||
struct prompt_options, key, parse_integer ),
|
||||
struct prompt_options, key, parse_key ),
|
||||
OPTION_DESC ( "timeout", 't', required_argument,
|
||||
struct prompt_options, timeout, parse_integer ),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user