Modify usage of docker swarm join-token command

Signed-off-by: lixiaobing10051267 <li.xiaobing1@zte.com.cn>
This commit is contained in:
lixiaobing10051267 2016-08-17 15:45:04 +08:00
parent 6e70a976ba
commit 9123ca546a
2 changed files with 2 additions and 2 deletions

View file

@ -16,7 +16,7 @@ func newJoinTokenCommand(dockerCli *client.DockerCli) *cobra.Command {
var rotate, quiet bool
cmd := &cobra.Command{
Use: "join-token [-q] [--rotate] (worker|manager)",
Use: "join-token [OPTIONS] (worker|manager)",
Short: "Manage join tokens",
Args: cli.ExactArgs(1),
RunE: func(cmd *cobra.Command, args []string) error {

View file

@ -11,7 +11,7 @@ parent = "smn_cli"
# swarm join-token
```markdown
Usage: docker swarm join-token [--rotate] (worker|manager)
Usage: docker swarm join-token [OPTIONS] (worker|manager)
Manage join tokens