summaryrefslogtreecommitdiffstats
path: root/sbin/savecore
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/savecore')
-rw-r--r--sbin/savecore/savecore.84
-rw-r--r--sbin/savecore/savecore.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/sbin/savecore/savecore.8 b/sbin/savecore/savecore.8
index de4ef2e..e4196ef 100644
--- a/sbin/savecore/savecore.8
+++ b/sbin/savecore/savecore.8
@@ -42,7 +42,7 @@
.Nm
.Fl c
.Nm
-.Op Fl fvz
+.Op Fl fkvz
.Op Fl N Ar system
.Ar directory
.Sh DESCRIPTION
@@ -61,6 +61,8 @@ will ignore it.
.It Fl f
Force a dump to be taken even if the dump doesn't appear correct or there
is insufficient disk space.
+.It Fl k
+Do not clear the dump after saving it.
.It Fl N
Use
.Ar system
diff --git a/sbin/savecore/savecore.c b/sbin/savecore/savecore.c
index ccbd4b4..b785f17 100644
--- a/sbin/savecore/savecore.c
+++ b/sbin/savecore/savecore.c
@@ -765,6 +765,6 @@ Write(fd, bp, size)
void
usage()
{
- (void)syslog(LOG_ERR, "usage: savecore [-cfvz] [-N system] directory");
+ (void)syslog(LOG_ERR, "usage: savecore [-cfkvz] [-N system] directory");
exit(1);
}
OpenPOWER on IntegriCloud