From db5cbfa9927fcd6607fcecac2e7fd93b38a5cd05 Mon Sep 17 00:00:00 2001 From: decentral1se Date: Sat, 2 Oct 2021 22:14:01 +0200 Subject: [PATCH] docs: reword this local flag usage --- cli/server/add.go | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/cli/server/add.go b/cli/server/add.go index f31db3187..bee7c339f 100644 --- a/cli/server/add.go +++ b/cli/server/add.go @@ -30,10 +30,14 @@ var serverAddCommand = &cli.Command{ Description: ` This command adds a new server that abra will communicate with, to deploy apps. -The argument must be a publicy accessible domain name which points to -your server. You should have SSH access to this server, Abra will assume port -22 and will use your current system username to make an initial connection. You -can use the and arguments to adjust this. +If "--local" is passed, then Abra assumes that the current local server is +intended as the target server. + +Otherwise, you may specify a remote server. The argument must be a +publicy accessible domain name which points to your server. You should have SSH +access to this server, Abra will assume port 22 and will use your current +system username to make an initial connection. You can use the and + arguments to adjust this. For example: @@ -44,9 +48,6 @@ Abra will construct the following SSH connection string then: ssh://globemodem@varia.zone:12345 All communication between Abra and the server will use this SSH connection. - -NOTE: If you specify --local, none of the above applies 🙃 - `, Aliases: []string{"a"}, Flags: []cli.Flag{