summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsobrado <sobrado@openbsd.org>2009-05-06 21:07:01 +0000
committersobrado <sobrado@openbsd.org>2009-05-06 21:07:01 +0000
commitae50025caeda2f79fdc8f8ec71666084f559d831 (patch)
treee018a0b3138460635b0bf63152ab1f887a141ca8
parentmake nifs init global, so it can be relied upon (diff)
downloadwireguard-openbsd-ae50025caeda2f79fdc8f8ec71666084f559d831.tar.xz
wireguard-openbsd-ae50025caeda2f79fdc8f8ec71666084f559d831.zip
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@
-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);
}