Modify usage of docker swarm join-token command
Signed-off-by: lixiaobing10051267 <li.xiaobing1@zte.com.cn>
This commit is contained in:
parent
6e70a976ba
commit
9123ca546a
2 changed files with 2 additions and 2 deletions
|
@ -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 {
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue