From 4c98f36d9438c32fd8bbbff50405406cc5e210ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dag-Erling=20Sm=C3=B8rgrav?= Date: Fri, 16 Feb 2001 16:28:36 +0000 Subject: [PATCH] Document the new -k option in usage message and man page. --- sbin/savecore/savecore.8 | 4 +++- sbin/savecore/savecore.c | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/sbin/savecore/savecore.8 b/sbin/savecore/savecore.8 index de4ef2e5531e..e4196ef0ae84 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 ccbd4b4cb288..b785f17f4996 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); }