Module Name: src Committed By: wiz Date: Sun Oct 5 23:08:01 UTC 2014
Modified Files: src/usr.sbin/crash: crash.8 crash.c Log Message: usage police XXX: is the program usage correct? (/dev/ksyms) To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/usr.sbin/crash/crash.8 cvs rdiff -u -r1.6 -r1.7 src/usr.sbin/crash/crash.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/usr.sbin/crash/crash.8 diff -u src/usr.sbin/crash/crash.8:1.4 src/usr.sbin/crash/crash.8:1.5 --- src/usr.sbin/crash/crash.8:1.4 Sun Oct 5 22:58:43 2014 +++ src/usr.sbin/crash/crash.8 Sun Oct 5 23:08:01 2014 @@ -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 Index: src/usr.sbin/crash/crash.c diff -u src/usr.sbin/crash/crash.c:1.6 src/usr.sbin/crash/crash.c:1.7 --- src/usr.sbin/crash/crash.c:1.6 Sun Oct 5 22:58:43 2014 +++ src/usr.sbin/crash/crash.c Sun Oct 5 23:08:01 2014 @@ -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 @@ usage(void) { 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); }