summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kexec/kexec.82
-rw-r--r--kexec/kexec.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/kexec/kexec.8 b/kexec/kexec.8
index d3468fb..e0fec58 100644
--- a/kexec/kexec.8
+++ b/kexec/kexec.8
@@ -124,7 +124,7 @@ Specify that the new kernel is of this
.B \-u\ (\-\-unload)
Unload the current
.B kexec
-target kernel.
+target kernel. If a capture kernel is being unloaded then specify -p with -u.
.TP
.B \-v\ (\-\-version)
Return the version number of the installed utility.
diff --git a/kexec/kexec.c b/kexec/kexec.c
index 0206fa6..a32cacb 100644
--- a/kexec/kexec.c
+++ b/kexec/kexec.c
@@ -683,6 +683,8 @@ void usage(void)
" -l, --load Load the new kernel into the current kernel.\n"
" -p, --load-panic Load the new kernel for use on panic.\n"
" -u, --unload Unload the current kexec target kernel.\n"
+ " If capture kernel is being unloaded specify\n"
+ " -p with -u.\n"
" -e, --exec Execute a currently loaded kernel.\n"
" -t, --type=TYPE Specify the new kernel is of this type.\n"
" --mem-min=<addr> Specify the lowest memory addres to load code into.\n"