forked from toolshed/abra
docs: reword this local flag usage
This commit is contained in:
parent
4c11e813e8
commit
db5cbfa992
@ -30,10 +30,14 @@ var serverAddCommand = &cli.Command{
|
|||||||
Description: `
|
Description: `
|
||||||
This command adds a new server that abra will communicate with, to deploy apps.
|
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
|
If "--local" is passed, then Abra assumes that the current local server is
|
||||||
your server. You should have SSH access to this server, Abra will assume port
|
intended as the target server.
|
||||||
22 and will use your current system username to make an initial connection. You
|
|
||||||
can use the <user> and <port> arguments to adjust this.
|
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:
|
For example:
|
||||||
|
|
||||||
@ -44,9 +48,6 @@ Abra will construct the following SSH connection string then:
|
|||||||
ssh://globemodem@varia.zone:12345
|
ssh://globemodem@varia.zone:12345
|
||||||
|
|
||||||
All communication between Abra and the server will use this SSH connection.
|
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"},
|
Aliases: []string{"a"},
|
||||||
Flags: []cli.Flag{
|
Flags: []cli.Flag{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user