Skip to content

Commit

Permalink
docs: fix talosctl dashboard cli docs
Browse files Browse the repository at this point in the history
Fixes the shortcuts for the dashboard command by encoding < and >

Signed-off-by: Oscar Utbult <[email protected]>
Signed-off-by: Noel Georgi <[email protected]>
  • Loading branch information
oscr authored and frezbo committed Nov 23, 2023
1 parent 70d53ee commit fbcf426
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
16 changes: 8 additions & 8 deletions cmd/talosctl/cmd/talos/dashboard.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ var dashboardCmd = &cobra.Command{
Keyboard shortcuts:
- h, <Left>: switch one node to the left
- l, <Right>: switch one node to the right
- j, <Down>: scroll logs/process list down
- k, <Up>: scroll logs/process list up
- <C-d>: scroll logs/process list half page down
- <C-u>: scroll logs/process list half page up
- <C-f>: scroll logs/process list one page down
- <C-b>: scroll logs/process list one page up
- h, &lt;Left&gt; - switch one node to the left
- l, &lt;Right&gt; - switch one node to the right
- j, &lt;Down&gt; - scroll logs/process list down
- k, &lt;Up&gt; - scroll logs/process list up
- &lt;C-d&gt; - scroll logs/process list half page down
- &lt;C-u&gt; - scroll logs/process list half page up
- &lt;C-f&gt; - scroll logs/process list one page down
- &lt;C-b&gt; - scroll logs/process list one page up
`,
Args: cobra.NoArgs,
RunE: func(cmd *cobra.Command, args []string) error {
Expand Down
16 changes: 8 additions & 8 deletions website/content/v1.6/reference/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -778,14 +778,14 @@ Provide a text-based UI to navigate node overview, logs and real-time metrics.

Keyboard shortcuts:

- h, <Left>: switch one node to the left
- l, <Right>: switch one node to the right
- j, <Down>: scroll logs/process list down
- k, <Up>: scroll logs/process list up
- <C-d>: scroll logs/process list half page down
- <C-u>: scroll logs/process list half page up
- <C-f>: scroll logs/process list one page down
- <C-b>: scroll logs/process list one page up
- h, &lt;Left&gt; - switch one node to the left
- l, &lt;Right&gt; - switch one node to the right
- j, &lt;Down&gt; - scroll logs/process list down
- k, &lt;Up&gt; - scroll logs/process list up
- &lt;C-d&gt; - scroll logs/process list half page down
- &lt;C-u&gt; - scroll logs/process list half page up
- &lt;C-f&gt; - scroll logs/process list one page down
- &lt;C-b&gt; - scroll logs/process list one page up


```
Expand Down

0 comments on commit fbcf426

Please sign in to comment.