docs: reword this local flag usage

This commit is contained in:
decentral1se 2021-10-02 22:14:01 +02:00
parent 4c11e813e8
commit db5cbfa992
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
1 changed files with 8 additions and 7 deletions

View File

@ -30,10 +30,14 @@ var serverAddCommand = &cli.Command{
Description: `
This command adds a new server that abra will communicate with, to deploy apps.
The <domain> 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 <user> and <port> 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 <domain> 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 <user> and
<port> 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{