From d5e595f55f167fc529338cb181efbe82889e4ecb Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Fri, 19 Jul 2019 20:40:45 +0000 Subject: In the synopsis, put options that take no arguments before those that do. This also makes it easier to find the crucial difference between the two synopses, which is the "-e". Suggested by kn@; OK jmc@. --- usr.sbin/config/config.8 | 6 +++--- usr.sbin/config/main.c | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/usr.sbin/config/config.8 b/usr.sbin/config/config.8 index 36d81526693..a681100deba 100644 --- a/usr.sbin/config/config.8 +++ b/usr.sbin/config/config.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: config.8,v 1.67 2019/05/14 13:44:25 tedu Exp $ +.\" $OpenBSD: config.8,v 1.68 2019/07/19 20:40:44 schwarze Exp $ .\" $NetBSD: config.8,v 1.10 1996/08/31 20:58:16 mycroft Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 @@ -30,7 +30,7 @@ .\" .\" from: @(#)config.8 8.2 (Berkeley) 4/19/94 .\" -.Dd $Mdocdate: May 14 2019 $ +.Dd $Mdocdate: July 19 2019 $ .Dt CONFIG 8 .Os .Sh NAME @@ -43,10 +43,10 @@ .Op Fl s Ar srcdir .Op Ar config-file .Nm config +.Fl e .Op Fl u .Op Fl c Ar cmdfile .Op Fl f | o Ar outfile -.Fl e .Ar infile .Sh DESCRIPTION In the first synopsis form, the diff --git a/usr.sbin/config/main.c b/usr.sbin/config/main.c index e7efacf871a..4d6e88654ad 100644 --- a/usr.sbin/config/main.c +++ b/usr.sbin/config/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.60 2019/05/14 13:44:25 tedu Exp $ */ +/* $OpenBSD: main.c,v 1.61 2019/07/19 20:40:44 schwarze Exp $ */ /* $NetBSD: main.c,v 1.22 1997/02/02 21:12:33 thorpej Exp $ */ /* @@ -82,7 +82,7 @@ usage(void) fprintf(stderr, "usage: %s [-p] [-b builddir] [-s srcdir] [config-file]\n" - " %s [-u] [-c cmdfile] [-f | -o outfile] -e infile\n", + " %s -e [-u] [-c cmdfile] [-f | -o outfile] infile\n", __progname, __progname); exit(1); -- cgit v1.2.3