summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2021-06-22 14:51:30 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2021-06-22 14:51:30 +0000
commitd91937c2b0b65098268282485001b74d52aa2a29 (patch)
tree4bf912cfdda6a95380bd25f42e34da03a312b395 /sbin
parentcf94924a1e151d44f1d9da293ffeea3724f6902d (diff)
reduce verbosity of usage(); keep it the same as SYNOPSIS, wrapped at 80w.
lowercase for "usage", and add -e, which was missing; ok kettenis
Diffstat (limited to 'sbin')
-rw-r--r--sbin/scsi/scsi.c21
1 files changed, 6 insertions, 15 deletions
diff --git a/sbin/scsi/scsi.c b/sbin/scsi/scsi.c
index d419c39b87b..b3861775794 100644
--- a/sbin/scsi/scsi.c
+++ b/sbin/scsi/scsi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: scsi.c,v 1.30 2016/06/07 01:29:38 tedu Exp $ */
+/* $OpenBSD: scsi.c,v 1.31 2021/06/22 14:51:29 jmc Exp $ */
/* $FreeBSD: scsi.c,v 1.11 1996/04/06 11:00:28 joerg Exp $ */
/*
@@ -84,20 +84,11 @@ static void
usage(void)
{
fprintf(stderr,
-"Usage:\n"
-"\n"
-" scsi -f device -d debug_level # To set debug level\n"
-" scsi -f device -m page [-P pc] # To read mode pages\n"
-" scsi -f device [-v] [-s seconds] -c cmd_fmt [arg0 ... argn] # A command...\n"
-" -o count out_fmt [arg0 ... argn] # EITHER (data out)\n"
-" -i count in_fmt # OR (data in)\n"
-"\n"
-"\"out_fmt\" can be \"-\" to read output data from stdin;\n"
-"\"in_fmt\" can be \"-\" to write input data to stdout;\n"
-"\n"
-"If debugging is not compiled in the kernel, \"-d\" will have no effect\n"
-
-);
+"usage: scsi -f device -d debug_level\n"
+" scsi -f device -m page [-e] [-P pc]\n"
+" scsi -f device [-v] [-s seconds] -c cmd_fmt [arg ...]"
+" -o count out_fmt\n"
+" [arg ...] -i count in_fmt [arg ...]\n");
exit (1);
}