-k and -K are mutually exclusive, make usage match manual
authorkn <kn@openbsd.org>
Sat, 20 Aug 2022 06:39:24 +0000 (06:39 +0000)
committerkn <kn@openbsd.org>
Sat, 20 Aug 2022 06:39:24 +0000 (06:39 +0000)
OK millert

sbin/vnconfig/vnconfig.c

index 4ca1f9d..be80f28 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: vnconfig.c,v 1.9 2022/08/19 18:56:26 kn Exp $ */
+/*     $OpenBSD: vnconfig.c,v 1.10 2022/08/20 06:39:24 kn Exp $        */
 /*
  * Copyright (c) 1993 University of Utah.
  * Copyright (c) 1990, 1993
@@ -356,11 +356,9 @@ __dead void
 usage(void)
 {
        fprintf(stderr,
-           "usage: vnconfig [-kv] [-K rounds] [-S saltfile] "
-           "[-t disktype] [vnd_dev] image\n");
-       fprintf(stderr,
-           "       vnconfig -l [vnd_dev]\n");
-       fprintf(stderr,
+           "usage: vnconfig [-v] [-k | -K rounds [-S saltfile]] "
+           "[-t disktype] [vnd_dev] image\n"
+           "       vnconfig -l [vnd_dev]\n"
            "       vnconfig -u [-v] vnd_dev\n");
        exit(1);
 }