From 4ac3b432602259efbd79efefbd016eebb7966675 Mon Sep 17 00:00:00 2001 From: Clement Tsang <34804052+ClementTsang@users.noreply.github.com> Date: Sat, 24 Jun 2023 05:36:36 +0000 Subject: [PATCH] docs: update time-related documentation (#1222) * docs: update time-related documentation * fix retention too --- .../configuration/command-line-flags.md | 84 +++++++++---------- .../configuration/config-file/flags.md | 2 +- sample_configs/default_config.toml | 2 +- src/args.rs | 16 ++-- src/options.rs | 32 ++++--- 5 files changed, 73 insertions(+), 63 deletions(-) diff --git a/docs/content/configuration/command-line-flags.md b/docs/content/configuration/command-line-flags.md index cbaf6ee6..e0a7192f 100644 --- a/docs/content/configuration/command-line-flags.md +++ b/docs/content/configuration/command-line-flags.md @@ -3,45 +3,45 @@ The following flags can be provided to bottom in the command line to change the behaviour of the program. You can also see information on these flags by running `btm -h`, or run `btm --help` to display more detailed information on each flag: -| Flag | Behaviour | -| ----------------------------------- | --------------------------------------------------------------- | -| --autohide_time | Temporarily shows the time scale in graphs. | -| -b, --basic | Hides graphs and uses a more basic look. | -| --battery | Shows the battery widget. | -| -S, --case_sensitive | Enables case sensitivity by default. | -| -c, --celsius | Sets the temperature type to Celsius. | -| --color | Use a color scheme, use --help for info. | -| -C, --config | Sets the location of the config file. | -| -u, --current_usage | Sets process CPU% to be based on current CPU%. | -| -t, --default_time_value