diff options
author | Michael Brown <mcb30@ipxe.org> | 2012-03-27 19:49:12 +0100 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2012-03-29 00:21:19 +0100 |
commit | 0b1fe005b36ebc3af8de0d736e4a1227ba4580f8 (patch) | |
tree | 1e20637fc73d82834b9fb0729371dfeee81adb32 /src/image/script.c | |
parent | aac9718fd60e5a85579ffc3d63c302615c403b03 (diff) | |
download | ipxe-0b1fe005b36ebc3af8de0d736e4a1227ba4580f8.tar.gz |
[parseopt] Allow "prompt" command to accept character literals for --key
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/image/script.c')
-rw-r--r-- | src/image/script.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/image/script.c b/src/image/script.c index fb89e4220..460fbf03a 100644 --- a/src/image/script.c +++ b/src/image/script.c @@ -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 ), }; |