summaryrefslogtreecommitdiff
path: root/kexec/kexec.h
diff options
context:
space:
mode:
authorGeoff Levand <geoff@infradead.org>2013-10-02 20:49:46 +0000
committerSimon Horman <horms@verge.net.au>2013-10-03 10:01:34 +0900
commit5f46530bba7a105d543511ed5f001ec5b8d61822 (patch)
treefcd857c8971ea04f65c8e2648fe7ad4994c3cfe6 /kexec/kexec.h
parent86b8bf44d27579bc3c90be053f19df17253c69d7 (diff)
downloadkexec-tools-5f46530bba7a105d543511ed5f001ec5b8d61822.tar.gz
kexec: Fix the -? option
Add '?' to the short option string. Fixes runtime errors like these: kexec: invalid option -- '?' Signed-off-by: Geoff Levand <geoff@infradead.org> for Huawei, Linaro Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec/kexec.h')
-rw-r--r--kexec/kexec.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kexec/kexec.h b/kexec/kexec.h
index 715b568..2904e03 100644
--- a/kexec/kexec.h
+++ b/kexec/kexec.h
@@ -230,7 +230,7 @@ extern int file_types;
{ "reuseinitrd", 0, 0, OPT_REUSE_INITRD }, \
{ "debug", 0, 0, OPT_DEBUG }, \
-#define KEXEC_OPT_STR "hvdfxluet:p"
+#define KEXEC_OPT_STR "h?vdfxluet:p"
extern void die(const char *fmt, ...)
__attribute__ ((format (printf, 1, 2)));