[PATCH 2/3] add description for entry option in help and man page

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"--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 at redhat.com>
---
 kexec/kexec.8 |    3 +++
 kexec/kexec.c |    4 ++++
 2 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/kexec/kexec.8 b/kexec/kexec.8
index 120af4d..2f94448 100644
--- a/kexec/kexec.8
+++ b/kexec/kexec.8
@@ -159,6 +159,9 @@ to load code into.
 Specify the highest memory address
 .I addr
 to load code into.
+.TP
+.BI \-\-entry= addr
+Specify the jump back address. (0 means it's not jump back or preserve context)
 
 .SH SUPPORTED KERNEL FILE TYPES AND OPTIONS
 .B Beoboot-x86
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");
-- 
1.7.1




[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux