Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/crash usage police
details: https://anonhg.NetBSD.org/src/rev/0d461bccbc5c
branches: trunk
changeset: 332718:0d461bccbc5c
user: wiz <wiz%NetBSD.org@localhost>
date: Sun Oct 05 23:08:01 2014 +0000
description:
usage police
XXX: is the program usage correct? (/dev/ksyms)
diffstat:
usr.sbin/crash/crash.8 | 4 ++--
usr.sbin/crash/crash.c | 10 +++++-----
2 files changed, 7 insertions(+), 7 deletions(-)
diffs (51 lines):
diff -r 8c193eb9c8c5 -r 0d461bccbc5c usr.sbin/crash/crash.8
--- a/usr.sbin/crash/crash.8 Sun Oct 05 22:58:43 2014 +0000
+++ b/usr.sbin/crash/crash.8 Sun Oct 05 23:08:01 2014 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: crash.8,v 1.4 2014/10/05 22:58:43 christos Exp $
+.\" $NetBSD: crash.8,v 1.5 2014/10/05 23:08:01 wiz Exp $
.\"
.\" Copyright (c) 2009 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -35,9 +35,9 @@
.Nd examine and debug system images
.Sh SYNOPSIS
.Nm
+.Op Fl w
.Op Fl M Ar core
.Op Fl N Ar kernel
-.Op Fl w
.Sh DESCRIPTION
The
.Nm
diff -r 8c193eb9c8c5 -r 0d461bccbc5c usr.sbin/crash/crash.c
--- a/usr.sbin/crash/crash.c Sun Oct 05 22:58:43 2014 +0000
+++ b/usr.sbin/crash/crash.c Sun Oct 05 23:08:01 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: crash.c,v 1.6 2014/10/05 22:58:43 christos Exp $ */
+/* $NetBSD: crash.c,v 1.7 2014/10/05 23:08:01 wiz Exp $ */
/*-
* Copyright (c) 2009 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: crash.c,v 1.6 2014/10/05 22:58:43 christos Exp $");
+__RCSID("$NetBSD: crash.c,v 1.7 2014/10/05 23:08:01 wiz Exp $");
#endif /* not lint */
#include <ddb/ddb.h>
@@ -306,9 +306,9 @@
{
fprintf(stderr,
- "usage: %s [options]\n\n"
- "-M mem\tspecify memory file\n"
- "-N nlist\tspecify name list file (default /dev/ksyms)\n",
+ "usage: %s [-w] [-M core] [-N kernel]\n\n"
+ "-M core\tspecify memory file\n"
+ "-N kernel\tspecify name list file (default /dev/ksyms)\n",
getprogname());
exit(EXIT_FAILURE);
}
Home |
Main Index |
Thread Index |
Old Index