summaryrefslogtreecommitdiff
path: root/kexec/kexec.c
diff options
context:
space:
mode:
authorBaoquan He <bhe@redhat.com>2013-06-03 17:38:39 +0800
committerSimon Horman <horms@verge.net.au>2013-06-10 17:32:06 +0900
commitab1590ebdd8b43fa83ea7b6162536c9b8145c3cd (patch)
treee69aa3e7942edd95942859bf9ebbf7787683c227 /kexec/kexec.c
parent29359de0f585067e585298781ea19ce197b8cb95 (diff)
add description for entry option in help and man page
"--entry" option is used to specify jump back entry address, but lack description in help message and man page. Now add it. Signed-off-by: Baoquan He <bhe@redhat.com> Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec/kexec.c')
-rw-r--r--kexec/kexec.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/kexec/kexec.c b/kexec/kexec.c
index 6a13f79..21ff0e7 100644
--- a/kexec/kexec.c
+++ b/kexec/kexec.c
@@ -905,6 +905,10 @@ void usage(void)
" context of current kernel during kexec.\n"
" --load-jump-back-helper Load a helper image to jump back\n"
" to original kernel.\n"
+ " --entry=<addr> Specify jump back address.\n"
+ " (0 means it's not jump back or\n"
+ " preserve context)\n"
+ " to original kernel.\n"
" -d, --debug Enable debugging to help spot a failure.\n"
"\n"
"Supported kernel file types and options: \n");