Module Name: src Committed By: wiz Date: Fri Sep 26 02:20:39 UTC 2014
Modified Files: src/usr.bin/vis: vis.1 vis.c Log Message: Sort options in SYNOPSIS/usage. To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/usr.bin/vis/vis.1 cvs rdiff -u -r1.23 -r1.24 src/usr.bin/vis/vis.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/usr.bin/vis/vis.1 diff -u src/usr.bin/vis/vis.1:1.21 src/usr.bin/vis/vis.1:1.22 --- src/usr.bin/vis/vis.1:1.21 Fri Sep 26 01:21:07 2014 +++ src/usr.bin/vis/vis.1 Fri Sep 26 02:20:39 2014 @@ -1,4 +1,4 @@ -.\" $NetBSD: vis.1,v 1.21 2014/09/26 01:21:07 christos Exp $ +.\" $NetBSD: vis.1,v 1.22 2014/09/26 02:20:39 wiz Exp $ .\" .\" Copyright (c) 1989, 1991, 1993, 1994 .\" The Regents of the University of California. All rights reserved. @@ -37,7 +37,7 @@ .Nd display non-printable characters in a visual format .Sh SYNOPSIS .Nm -.Op Fl bcfhlmMnosStw +.Op Fl bcfhlMmnoSstw .Op Fl e Ar extra .Op Fl F Ar foldwidth .Op Ar file ... Index: src/usr.bin/vis/vis.c diff -u src/usr.bin/vis/vis.c:1.23 src/usr.bin/vis/vis.c:1.24 --- src/usr.bin/vis/vis.c:1.23 Fri Sep 26 01:21:07 2014 +++ src/usr.bin/vis/vis.c Fri Sep 26 02:20:39 2014 @@ -1,4 +1,4 @@ -/* $NetBSD: vis.c,v 1.23 2014/09/26 01:21:07 christos Exp $ */ +/* $NetBSD: vis.c,v 1.24 2014/09/26 02:20:39 wiz Exp $ */ /*- * Copyright (c) 1989, 1993 @@ -39,7 +39,7 @@ __COPYRIGHT("@(#) Copyright (c) 1989, 19 #if 0 static char sccsid[] = "@(#)vis.c 8.1 (Berkeley) 6/6/93"; #endif -__RCSID("$NetBSD: vis.c,v 1.23 2014/09/26 01:21:07 christos Exp $"); +__RCSID("$NetBSD: vis.c,v 1.24 2014/09/26 02:20:39 wiz Exp $"); #endif /* not lint */ #include <stdio.h> @@ -70,7 +70,7 @@ main(int argc, char *argv[]) int ch; int rval; - while ((ch = getopt(argc, argv, "bcde:F:fhlmMnosStw")) != -1) + while ((ch = getopt(argc, argv, "bcde:F:fhlMmnoSstw")) != -1) switch((char)ch) { case 'b': eflags |= VIS_NOSLASH; @@ -131,7 +131,7 @@ main(int argc, char *argv[]) case '?': default: (void)fprintf(stderr, - "Usage: %s [-bcfhlmMnosStw] [-e extra]" + "Usage: %s [-bcfhlMmnoSstw] [-e extra]" " [-F foldwidth] [file ...]\n", getprogname()); return 1; }