Module Name:    src
Committed By:   maya
Date:           Sun Apr 18 19:56:10 UTC 2021

Modified Files:
        src/sbin/cgdconfig: cgdconfig.8 cgdconfig.c

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

>From rudolf in PR misc/36243


To generate a diff of this commit:
cvs rdiff -u -r1.48 -r1.49 src/sbin/cgdconfig/cgdconfig.8
cvs rdiff -u -r1.50 -r1.51 src/sbin/cgdconfig/cgdconfig.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sbin/cgdconfig/cgdconfig.8
diff -u src/sbin/cgdconfig/cgdconfig.8:1.48 src/sbin/cgdconfig/cgdconfig.8:1.49
--- src/sbin/cgdconfig/cgdconfig.8:1.48	Fri Dec 11 21:52:19 2020
+++ src/sbin/cgdconfig/cgdconfig.8	Sun Apr 18 19:56:09 2021
@@ -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

Index: src/sbin/cgdconfig/cgdconfig.c
diff -u src/sbin/cgdconfig/cgdconfig.c:1.50 src/sbin/cgdconfig/cgdconfig.c:1.51
--- src/sbin/cgdconfig/cgdconfig.c:1.50	Wed Apr 10 06:11:37 2019
+++ src/sbin/cgdconfig/cgdconfig.c	Sun Apr 18 19:56:09 2021
@@ -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 @@ usage(void)
 	    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 "

Reply via email to