update server-agent usage

This commit is contained in:
Tony Li 2018-01-30 13:28:17 -05:00
parent 22522bfe44
commit 0a6666b4bf
No known key found for this signature in database
GPG key ID: E73DA11CDB50D072
2 changed files with 2 additions and 2 deletions

View file

@ -40,7 +40,7 @@ func main() {
cli.StringFlag{ cli.StringFlag{
EnvVar: "DRONE_PASSWORD,DRONE_SECRET", EnvVar: "DRONE_PASSWORD,DRONE_SECRET",
Name: "password", Name: "password",
Usage: "drone server-agent shared password", Usage: "server-agent shared password",
}, },
cli.BoolTFlag{ cli.BoolTFlag{
EnvVar: "DRONE_DEBUG", EnvVar: "DRONE_DEBUG",

View file

@ -125,7 +125,7 @@ var flags = []cli.Flag{
cli.StringFlag{ cli.StringFlag{
EnvVar: "DRONE_AGENT_SECRET,DRONE_SECRET", EnvVar: "DRONE_AGENT_SECRET,DRONE_SECRET",
Name: "agent-secret", Name: "agent-secret",
Usage: "drone server-agent shared password", Usage: "server-agent shared password",
}, },
cli.StringFlag{ cli.StringFlag{
EnvVar: "DRONE_SECRET_ENDPOINT", EnvVar: "DRONE_SECRET_ENDPOINT",