Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sbin/cgdconfig The -n flag is useless with -g, don't mention...



details:   https://anonhg.NetBSD.org/src/rev/b106f9b75efe
branches:  trunk
changeset: 982615:b106f9b75efe
user:      maya <maya%NetBSD.org@localhost>
date:      Sun Apr 18 19:56:09 2021 +0000

description:
The -n flag is useless with -g, don't mention it.

>From rudolf in PR misc/36243

diffstat:

 sbin/cgdconfig/cgdconfig.8 |  7 ++++---
 sbin/cgdconfig/cgdconfig.c |  6 +++---
 2 files changed, 7 insertions(+), 6 deletions(-)

diffs (55 lines):

diff -r 0a49530fa767 -r b106f9b75efe sbin/cgdconfig/cgdconfig.8
--- a/sbin/cgdconfig/cgdconfig.8        Sun Apr 18 17:54:33 2021 +0000
+++ b/sbin/cgdconfig/cgdconfig.8        Sun Apr 18 19:56:09 2021 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: cgdconfig.8,v 1.48 2020/12/11 21:52:19 riastradh Exp $
+.\" $NetBSD: cgdconfig.8,v 1.49 2021/04/18 19:56:09 maya Exp $
 .\"
 .\" Copyright (c) 2002, The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -27,7 +27,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd December 11, 2020
+.Dd April 18, 2021
 .Dt CGDCONFIG 8
 .Os
 .Sh NAME
@@ -52,7 +52,8 @@
 .Ar paramsfile
 .Nm
 .Fl g
-.Op Fl nv
+.Op Fl v
+.Op Fl V Ar vmeth
 .Op Fl i Ar ivmeth
 .Op Fl k Ar kgmeth
 .Op Fl o Ar outfile
diff -r 0a49530fa767 -r b106f9b75efe sbin/cgdconfig/cgdconfig.c
--- a/sbin/cgdconfig/cgdconfig.c        Sun Apr 18 17:54:33 2021 +0000
+++ b/sbin/cgdconfig/cgdconfig.c        Sun Apr 18 19:56:09 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cgdconfig.c,v 1.50 2019/04/10 06:11:37 kre Exp $ */
+/* $NetBSD: cgdconfig.c,v 1.51 2021/04/18 19:56:09 maya Exp $ */
 
 /*-
  * Copyright (c) 2002, 2003 The NetBSD Foundation, Inc.
@@ -33,7 +33,7 @@
 #ifndef lint
 __COPYRIGHT("@(#) Copyright (c) 2002, 2003\
  The NetBSD Foundation, Inc.  All rights reserved.");
-__RCSID("$NetBSD: cgdconfig.c,v 1.50 2019/04/10 06:11:37 kre Exp $");
+__RCSID("$NetBSD: cgdconfig.c,v 1.51 2021/04/18 19:56:09 maya Exp $");
 #endif
 
 #include <err.h>
@@ -144,7 +144,7 @@
            getprogname());
        (void)fprintf(stderr, "       %s -G [-enpv] [-i ivmeth] [-k kgmeth] "
            "[-o outfile] paramsfile\n", getprogname());
-       (void)fprintf(stderr, "       %s -g [-nv] [-i ivmeth] [-k kgmeth] "
+       (void)fprintf(stderr, "       %s -g [-v] [-i ivmeth] [-k kgmeth] "
            "[-o outfile] alg [keylen]\n", getprogname());
        (void)fprintf(stderr, "       %s -l [-v[v]] [cgd]\n", getprogname());
        (void)fprintf(stderr, "       %s -s [-nv] [-i ivmeth] cgd dev alg "



Home | Main Index | Thread Index | Old Index