diff options
author | Clement Tsang <34804052+ClementTsang@users.noreply.github.com> | 2021-07-14 19:08:54 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-14 19:08:54 -0400 |
commit | 968b7bb2def503da068f9579384c34e2b2d3a506 (patch) | |
tree | 5d0b59aa59f4dd16875cd0cf72895b303fb6e831 /docs | |
parent | 7392b56364ef0df321160e519eb29c287ae94622 (diff) |
bug: Fix missing config options in docs and default config (#542)
Adds the missing hide_time and battery config option to the default config and corresponding documentation.
Should probably automate the generation of this somehow tbh, though this might change when I add in-app config (soon™)
Diffstat (limited to 'docs')
-rw-r--r-- | docs/content/configuration/command-line-flags.md | 2 | ||||
-rw-r--r-- | docs/content/configuration/config-file/flags.md | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/docs/content/configuration/command-line-flags.md b/docs/content/configuration/command-line-flags.md index 0f3d576a..b5d6d3d3 100644 --- a/docs/content/configuration/command-line-flags.md +++ b/docs/content/configuration/command-line-flags.md @@ -27,7 +27,7 @@ The following flags can be provided to bottom in the command line to change the | `-h, --help` | Prints help information. Use --help for more info. | | `-a, --hide_avg_cpu` | Hides the average CPU usage. | | `--hide_table_gap` | Hides the spacing between table headers and entries. | -| `--hide_time` | Completely hides the time scaling. | +| `--hide_time` | Hides the time scale. | | `-k, --kelvin` | Sets the temperature type to Kelvin. | | `-l, --left_legend` | Puts the CPU chart legend to the left side. | | `--mem_as_value` | Defaults to showing process memory usage by value. | diff --git a/docs/content/configuration/config-file/flags.md b/docs/content/configuration/config-file/flags.md index e4896828..b8a190a7 100644 --- a/docs/content/configuration/config-file/flags.md +++ b/docs/content/configuration/config-file/flags.md @@ -22,6 +22,7 @@ Most of the [command line flags](../../command-line-flags) have config file equi | `rate` | Unsigned Int (represents milliseconds) | Sets a refresh rate in ms. | | `default_time_value` | Unsigned Int (represents milliseconds) | Default time value for graphs in ms. | | `time_delta` | Unsigned Int (represents milliseconds) | The amount in ms changed upon zooming. | +| `hide_time` | Boolean | Hides the time scaling. | | `temperature_type` | String (one of ["k", "f", "c", "kelvin", "fahrenheit", "celsius"]) | Sets the temperature unit type. | | `default_widget_type` | String (one of ["cpu", "proc", "net", "temp", "mem", "disk"], same as layout options) | Sets the default widget type, use --help for more info. | | `default_widget_count` | Unsigned Int (represents which `default_widget_type`) | Sets the n'th selected widget type as the default. | |