summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorIgor Sobrado <sobrado@cvs.openbsd.org>2009-05-06 21:07:02 +0000
committerIgor Sobrado <sobrado@cvs.openbsd.org>2009-05-06 21:07:02 +0000
commitc45ef502e5e9d69b72d11c8f55b26cabe5948e7d (patch)
tree07e96889451985799a360499199d6f1746ad67e8 /usr.bin
parent38c8db800044d798f12942f04a3d8d905e9746a8 (diff)
add missing flags to the output of usage() and sort them as usual
in BSD operating systems; while here, indent source code in a way it fits on 80-column displays. ok jmc@
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/tset/tset.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.bin/tset/tset.c b/usr.bin/tset/tset.c
index 4b7e207a5ca..632d5c33f58 100644
--- a/usr.bin/tset/tset.c
+++ b/usr.bin/tset/tset.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tset.c,v 1.32 2007/10/15 02:16:35 deraadt Exp $ */
+/* $OpenBSD: tset.c,v 1.33 2009/05/06 21:07:01 sobrado Exp $ */
/****************************************************************************
* Copyright (c) 1998,1999,2000 Free Software Foundation, Inc. *
@@ -1029,8 +1029,9 @@ obsolete(char **argv)
static void
usage(const char *pname)
{
- (void) fprintf(stderr,
- "usage: %s [-IQVrs] [-] [-e ch] [-i ch] [-k ch] [-m mapping] [terminal]\n", pname);
+ (void) fprintf(stderr, "usage: %s [-IQqrSsV] [-] "
+ "[-e ch] [-i ch] [-k ch] [-m mapping] [terminal]\n",
+ pname);
exit(EXIT_FAILURE);
}