From b49e184789a07cc755d67c8f4277a242520d2455 Mon Sep 17 00:00:00 2001 From: jmc Date: Mon, 29 Nov 2021 13:20:24 +0000 Subject: [PATCH] add -V to usage(), and list it before -v in both SYNOPSIS and the options list; --- sbin/iked/iked.8 | 8 ++++---- sbin/iked/iked.c | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/sbin/iked/iked.8 b/sbin/iked/iked.8 index faa7cfda78c..7134e54f843 100644 --- a/sbin/iked/iked.8 +++ b/sbin/iked/iked.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: iked.8,v 1.29 2021/11/29 12:27:18 tobhe Exp $ +.\" $OpenBSD: iked.8,v 1.30 2021/11/29 13:20:24 jmc Exp $ .\" .\" Copyright (c) 2010 - 2014 Reyk Floeter .\" @@ -22,7 +22,7 @@ .Nd Internet Key Exchange version 2 (IKEv2) daemon .Sh SYNOPSIS .Nm iked -.Op Fl dnSTtvV +.Op Fl dnSTtVv .Op Fl D Ar macro Ns = Ns Ar value .Op Fl f Ar file .Op Fl p Ar udpencap_port @@ -107,10 +107,10 @@ Disable NAT-Traversal and do not propose NAT-Traversal support to the peers. Enforce NAT-Traversal and only listen to NAT-Traversal messages. This option is only recommended for testing; the default is to negotiate NAT-Traversal with the peers. -.It Fl v -Produce more verbose output. .It Fl V Show the version and exit. +.It Fl v +Produce more verbose output. .El .Sh PUBLIC KEY AUTHENTICATION It is possible to store trusted public keys to make them directly diff --git a/sbin/iked/iked.c b/sbin/iked/iked.c index b08101533c5..621801cb65d 100644 --- a/sbin/iked/iked.c +++ b/sbin/iked/iked.c @@ -1,4 +1,4 @@ -/* $OpenBSD: iked.c,v 1.60 2021/11/29 12:27:18 tobhe Exp $ */ +/* $OpenBSD: iked.c,v 1.61 2021/11/29 13:20:24 jmc Exp $ */ /* * Copyright (c) 2019 Tobias Heider @@ -58,7 +58,7 @@ usage(void) { extern char *__progname; - fprintf(stderr, "usage: %s [-dnSTtv] [-D macro=value] " + fprintf(stderr, "usage: %s [-dnSTtVv] [-D macro=value] " "[-f file] [-p udpencap_port] [-s socket]\n", __progname); exit(1); } -- 2.20.1