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:
@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user