From 0bb77895b23e14942b97240f99b19f9a27f7e780 Mon Sep 17 00:00:00 2001 From: Andrey Pozolotin Date: Tue, 9 Mar 2021 10:29:27 +0300 Subject: [PATCH] Made remote required when creating a tunnel --- internal/pkg/controllers/tunnel.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/internal/pkg/controllers/tunnel.go b/internal/pkg/controllers/tunnel.go index d500298..e866e22 100644 --- a/internal/pkg/controllers/tunnel.go +++ b/internal/pkg/controllers/tunnel.go @@ -43,9 +43,10 @@ If local is not specified, a random server port will be assigned automatically`, }, { Field: Remote, - Description: "The ports are defined from the servers' perspective. " + + Description: "[required] the ports are defined from the servers' perspective. " + "'Remote' refers to the ports and interfaces of the client., e.g. '3389'", - ShortName: "r", + ShortName: "r", + IsRequired: true, }, { Field: Scheme,