diff --git a/cli/server/add.go b/cli/server/add.go index f31db31875..bee7c339f3 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{