Merge pull request #186 from alexislefebvre/patch-1

Format options and keybindings as code
This commit is contained in:
bradley 2019-12-30 08:31:49 -05:00 committed by GitHub
commit 9dd12103fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -62,32 +62,32 @@ While running, use `S` to save the current filters, sort field, and other option
Option | Description Option | Description
--- | --- --- | ---
-a | show active containers only `-a` | show active containers only
-f \<string\> | set an initial filter string `-f <string>` | set an initial filter string
-h | display help dialog `-h` | display help dialog
-i | invert default colors `-i` | invert default colors
-r | reverse container sort order `-r` | reverse container sort order
-s | select initial container sort field `-s` | select initial container sort field
-scale-cpu | show cpu as % of system total `-scale-cpu` | show cpu as % of system total
-v | output version information and exit `-v` | output version information and exit
-shell | specify shell (default: sh) `-shell` | specify shell (default: sh)
### Keybindings ### Keybindings
Key | Action Key | Action
--- | --- --- | ---
\<enter\> | Open container menu `<enter>` | Open container menu
a | Toggle display of all (running and non-running) containers `a` | Toggle display of all (running and non-running) containers
f | Filter displayed containers (`esc` to clear when open) `f` | Filter displayed containers (`esc` to clear when open)
H | Toggle ctop header `H` | Toggle ctop header
h | Open help dialog `h` | Open help dialog
s | Select container sort field `s` | Select container sort field
r | Reverse container sort order `r` | Reverse container sort order
o | Open single view `o` | Open single view
l | View container logs (`t` to toggle timestamp when open) `l` | View container logs (`t` to toggle timestamp when open)
e | Exec Shell `e` | Exec Shell
S | Save current configuration to file `S` | Save current configuration to file
q | Quit ctop `q` | Quit ctop
[build]: _docs/build.md [build]: _docs/build.md
[connectors]: _docs/connectors.md [connectors]: _docs/connectors.md