use subcommands

This commit is contained in:
Alex Dadgar
2018-03-20 17:37:28 -07:00
parent 9b73881a00
commit c7fc6571d8
31 changed files with 320 additions and 147 deletions

View File

@@ -11,7 +11,7 @@ type ServerJoinCommand struct {
func (c *ServerJoinCommand) Help() string {
helpText := `
Usage: nomad server-join [options] <addr> [<addr>...]
Usage: nomad server join [options] <addr> [<addr>...]
Joins the local server to one or more Nomad servers. Joining is
only required for server nodes, and only needs to succeed