summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/tools/ovpn/ovpn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/ovpn/ovpn.c b/src/tools/ovpn/ovpn.c
index 0f1ec3e3..029742a7 100644
--- a/src/tools/ovpn/ovpn.c
+++ b/src/tools/ovpn/ovpn.c
@@ -193,7 +193,7 @@ int main(int argc,
static struct option long_options[] =
{{"ip", required_argument, NULL, 'i'},
{"mask", required_argument, NULL, 'm'},
- {"name", optional_argument, NULL, 'n'},
+ {"name", required_argument, NULL, 'n'},
{"crypt", no_argument, NULL, 'C'},
{"help", no_argument, NULL, 'h'},
{NULL, 0, NULL, 0}