Commit 2b00ef5b authored by manuelbuil's avatar manuelbuil Committed by Manuel Buil

Correct the k3s token command help

Signed-off-by: 's avatarmanuelbuil <mbuil@suse.com>
parent 3fcbac8d
...@@ -38,7 +38,7 @@ var ( ...@@ -38,7 +38,7 @@ var (
func NewTokenCommands(create, delete, generate, list, rotate func(ctx *cli.Context) error) cli.Command { func NewTokenCommands(create, delete, generate, list, rotate func(ctx *cli.Context) error) cli.Command {
return cli.Command{ return cli.Command{
Name: TokenCommand, Name: TokenCommand,
Usage: "Manage bootstrap tokens", Usage: "Manage tokens",
SkipFlagParsing: false, SkipFlagParsing: false,
SkipArgReorder: true, SkipArgReorder: true,
Subcommands: []cli.Command{ Subcommands: []cli.Command{
...@@ -97,7 +97,7 @@ func NewTokenCommands(create, delete, generate, list, rotate func(ctx *cli.Conte ...@@ -97,7 +97,7 @@ func NewTokenCommands(create, delete, generate, list, rotate func(ctx *cli.Conte
}, },
{ {
Name: "rotate", Name: "rotate",
Usage: "Rotate original server token with a new bootstrap token", Usage: "Rotate original server token with a new server token",
Flags: append(TokenFlags, Flags: append(TokenFlags,
&cli.StringFlag{ &cli.StringFlag{
Name: "token,t", Name: "token,t",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment