mirror of https://github.com/k3s-io/k3s
Correct the k3s token command help
Signed-off-by: manuelbuil <mbuil@suse.com>pull/11725/head
parent
18c072e595
commit
3347947dd2
|
@ -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
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
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",
|
||||||
|
|
Loading…
Reference in New Issue