summaryrefslogtreecommitdiffstats
path: root/src/image
diff options
context:
space:
mode:
authorMichael Brown2012-03-27 20:49:12 +0200
committerMichael Brown2012-03-29 01:21:19 +0200
commit0b1fe005b36ebc3af8de0d736e4a1227ba4580f8 (patch)
tree1e20637fc73d82834b9fb0729371dfeee81adb32 /src/image
parent[readline] Accept Ctrl-U for "delete to start of line" (diff)
downloadipxe-0b1fe005b36ebc3af8de0d736e4a1227ba4580f8.tar.gz
ipxe-0b1fe005b36ebc3af8de0d736e4a1227ba4580f8.tar.xz
ipxe-0b1fe005b36ebc3af8de0d736e4a1227ba4580f8.zip
[parseopt] Allow "prompt" command to accept character literals for --key
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/image')
-rw-r--r--src/image/script.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/image/script.c b/src/image/script.c
index fb89e422..460fbf03 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 ),
};