Modify usage of docker swarm join-token command

Signed-off-by: lixiaobing10051267 <li.xiaobing1@zte.com.cn>
Upstream-commit: 9123ca546a49f6738a918b89ba7a41963083be54
Component: engine
This commit is contained in:
lixiaobing10051267
2016-08-17 15:45:04 +08:00
parent 5c4fc1cbb0
commit 715ba2d5b3
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