From e0caa9f43ee18b7782503f9204c68050b1573882 Mon Sep 17 00:00:00 2001 From: kn Date: Sat, 20 Aug 2022 06:39:24 +0000 Subject: [PATCH] -k and -K are mutually exclusive, make usage match manual OK millert --- sbin/vnconfig/vnconfig.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/sbin/vnconfig/vnconfig.c b/sbin/vnconfig/vnconfig.c index 4ca1f9dbce8..be80f2866b5 100644 --- a/sbin/vnconfig/vnconfig.c +++ b/sbin/vnconfig/vnconfig.c @@ -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); } -- 2.20.1