From 9e7b36375879a7719078e44cdc2dab60d874d34f Mon Sep 17 00:00:00 2001 From: Kyle Manna Date: Sat, 3 Sep 2016 15:45:55 -0700 Subject: [PATCH] genconfig: Clean-up usage() display * Semi-sorted order. * Move arguments with flags up. --- bin/ovpn_genconfig | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/bin/ovpn_genconfig b/bin/ovpn_genconfig index f9c9024..e327097 100755 --- a/bin/ovpn_genconfig +++ b/bin/ovpn_genconfig @@ -34,25 +34,25 @@ getroute() { usage() { echo "usage: $0 [-d]" echo " -u SERVER_PUBLIC_URL" - echo " [-s SERVER_SUBNET]" - echo " [-r ROUTE ...]" - echo " [-p PUSH ...]" + echo " [-e EXTRA_SERVER_CONFIG ]" + echo " [-f FRAGMENT ]" echo " [-n DNS_SERVER ...]" + echo " [-p PUSH ...]" + echo " [-r ROUTE ...]" + echo " [-s SERVER_SUBNET]" echo echo "optional arguments:" - echo " -d Disable NAT routing and default route" + echo " -2 Enable two factor authentication using Google Authenticator." + echo " -a Authenticate packets with HMAC using the given message digest algorithm (auth)." echo " -c Enable client-to-client option" + echo " -C A list of allowable TLS ciphers delimited by a colon (cipher)." + echo " -d Disable NAT routing and default route" echo " -D Do not push dns servers" - echo " -N Configure NAT to access external server network" echo " -m Set client MTU" + echo " -N Configure NAT to access external server network" echo " -t Use TAP device (instead of TUN device)" echo " -T Encrypt packets with the given cipher algorithm instead of the default one (tls-cipher)." - echo " -C A list of allowable TLS ciphers delimited by a colon (cipher)." - echo " -a Authenticate packets with HMAC using the given message digest algorithm (auth)." echo " -z Enable comp-lzo compression." - echo " -2 Enable two factor authentication using Google Authenticator." - echo " -f Set the fragment directive." - echo " -e Add extra server config" } if [ "$DEBUG" == "1" ]; then