Skip to content

Commit

Permalink
chore: fix typo in powercycle
Browse files Browse the repository at this point in the history
Fix typo in `powercycle`

Signed-off-by: Noel Georgi <[email protected]>
  • Loading branch information
frezbo committed Jul 20, 2022
1 parent 644e803 commit d650afb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cmd/talosctl/cmd/talos/reboot.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,6 @@ var rebootCmd = &cobra.Command{
}

func init() {
rebootCmd.Flags().StringVarP(&rebootCmdFlags.mode, "mode", "m", "default", "select the reboot mode: \"default\", \"powercyle\" (skips kexec)")
rebootCmd.Flags().StringVarP(&rebootCmdFlags.mode, "mode", "m", "default", "select the reboot mode: \"default\", \"powercycle\" (skips kexec)")
addCommand(rebootCmd)
}
3 changes: 1 addition & 2 deletions website/content/v1.1/reference/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -1686,7 +1686,7 @@ talosctl reboot [flags]

```
-h, --help help for reboot
-m, --mode string select the reboot mode: "default", "powercyle" (skips kexec) (default "default")
-m, --mode string select the reboot mode: "default", "powercycle" (skips kexec) (default "default")
```

### Options inherited from parent commands
Expand Down Expand Up @@ -2171,4 +2171,3 @@ A CLI for out-of-band management of Kubernetes nodes created by Talos
* [talosctl usage](#talosctl-usage) - Retrieve a disk usage
* [talosctl validate](#talosctl-validate) - Validate config
* [talosctl version](#talosctl-version) - Prints the version

2 changes: 1 addition & 1 deletion website/content/v1.2/reference/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -1780,7 +1780,7 @@ talosctl reboot [flags]

```
-h, --help help for reboot
-m, --mode string select the reboot mode: "default", "powercyle" (skips kexec) (default "default")
-m, --mode string select the reboot mode: "default", "powercycle" (skips kexec) (default "default")
```

### Options inherited from parent commands
Expand Down

0 comments on commit d650afb

Please sign in to comment.