summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2009-11-06 23:59:15 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2009-11-06 23:59:15 +0000
commit3394e5e148bf2cf903cba3980e82b3915e328843 (patch)
tree9aa63e6f65343e3c8fe6ed2e1aa3d6466af2994a /usr.sbin
parentfbd3f95af0a5cdf792221bd52a4a9f5b82b7dd10 (diff)
Sync output of usage() with man page SYNOPSIS.
requested by jmc@
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/pcidump/pcidump.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.sbin/pcidump/pcidump.c b/usr.sbin/pcidump/pcidump.c
index c1fcfd39861..617cec9ca31 100644
--- a/usr.sbin/pcidump/pcidump.c
+++ b/usr.sbin/pcidump/pcidump.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pcidump.c,v 1.20 2009/11/05 20:32:49 kettenis Exp $ */
+/* $OpenBSD: pcidump.c,v 1.21 2009/11/06 23:59:14 kettenis Exp $ */
/*
* Copyright (c) 2006, 2007 David Gwynne <loki@animata.net>
@@ -50,8 +50,9 @@ usage(void)
extern char *__progname;
fprintf(stderr,
- "usage: %s [-v] [-x | -xx] [-d pcidev] [-r file] [bus:dev:func]\n",
- __progname);
+ "usage: %s [-v] [-x | -xx] [-d pcidev] [bus:dev:func]\n"
+ " %s -r file [-d pcidev] bus:dev:func\n",
+ __progname, __progname);
exit(1);
}