summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2007-03-15 22:59:03 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2007-03-15 22:59:03 +0000
commitd7435067fd3bf176848b4d283555fca5b2541ebd (patch)
tree1719f1296d97a40f5132919e54e69aed3970d6e0 /usr.bin
parent9cbedd3ba0bd2c582f611152cc1689924899c27a (diff)
sort options; from Igor Sobrado
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/mesg/mesg.14
-rw-r--r--usr.bin/mesg/mesg.c6
2 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/mesg/mesg.1 b/usr.bin/mesg/mesg.1
index c7a10ac3082..5ae95f27ed5 100644
--- a/usr.bin/mesg/mesg.1
+++ b/usr.bin/mesg/mesg.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: mesg.1,v 1.9 2003/06/03 02:56:13 millert Exp $
+.\" $OpenBSD: mesg.1,v 1.10 2007/03/15 22:59:02 jmc Exp $
.\" $NetBSD: mesg.1,v 1.3 1994/12/23 07:16:31 jtc Exp $
.\"
.\" Copyright (c) 1987, 1990, 1993
@@ -38,7 +38,7 @@
.Nd display (do not display) messages from other users
.Sh SYNOPSIS
.Nm mesg
-.Op Cm y | Cm n
+.Op Cm n | Cm y
.Sh DESCRIPTION
The
.Nm mesg
diff --git a/usr.bin/mesg/mesg.c b/usr.bin/mesg/mesg.c
index 5e21d81334d..163615b349f 100644
--- a/usr.bin/mesg/mesg.c
+++ b/usr.bin/mesg/mesg.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mesg.c,v 1.6 2003/06/10 22:20:48 deraadt Exp $ */
+/* $OpenBSD: mesg.c,v 1.7 2007/03/15 22:59:02 jmc Exp $ */
/* $NetBSD: mesg.c,v 1.4 1994/12/23 07:16:32 jtc Exp $ */
/*
@@ -45,7 +45,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)mesg.c 8.2 (Berkeley) 1/21/94";
#endif
-static char rcsid[] = "$OpenBSD: mesg.c,v 1.6 2003/06/10 22:20:48 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: mesg.c,v 1.7 2007/03/15 22:59:02 jmc Exp $";
#endif /* not lint */
#include <sys/types.h>
@@ -99,6 +99,6 @@ main(int argc, char *argv[])
exit(1);
}
-usage: (void)fprintf(stderr, "usage: mesg [y | n]\n");
+usage: (void)fprintf(stderr, "usage: mesg [n | y]\n");
exit(2);
}