]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Simplify --genkey option syntax
authorSteffan Karger <steffan@karger.me>
Fri, 5 Oct 2018 15:00:32 +0000 (17:00 +0200)
committerGert Doering <gert@greenie.muc.de>
Sun, 7 Oct 2018 12:32:15 +0000 (14:32 +0200)
commitd818bfedfc7a433a3a5dbd6ce8e9b957802a21b2
tree53d2cd217284834be32d67f82bac56c117ad8677
parentab9193c32b19e42a1847bd4f6cf967ea0e3293c8
Simplify --genkey option syntax

Instead of requiring users to do "--genkey --secret new.key", allow
them to just do "--genkey new.key".  This has hit me often enough that I
decided to write a patch for it.  Also, the upcoming tls-crypt-v2-genkey
uses a similar syntax and Antonio suggested we should make them consistent.

The documentation is updated to no longer mention the old syntax, but it is
still supported so people who are used to the old syntax can still use it.

Signed-off-by: Steffan Karger <steffan@karger.me>
Acked-by: Antonio Quartulli <antonio@openvpn.net>
Message-Id: <20181005150032.16541-1-steffan@karger.me>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg17574.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
doc/openvpn.8
src/openvpn/options.c