summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClement Tsang <34804052+ClementTsang@users.noreply.github.com>2021-07-14 19:30:32 -0400
committerGitHub <noreply@github.com>2021-07-14 19:30:32 -0400
commitb0199d4d1cbcb330e9080d4b94c94a51068fe269 (patch)
tree495bf4815e498612b8f3656ca3f224153d738a1b
parent968b7bb2def503da068f9579384c34e2b2d3a506 (diff)
bug: scaling -> scale in some docs, help, and config (#543)
Just fixing a few typos.
-rw-r--r--docs/content/configuration/config-file/flags.md2
-rw-r--r--src/clap.rs4
2 files changed, 3 insertions, 3 deletions
diff --git a/docs/content/configuration/config-file/flags.md b/docs/content/configuration/config-file/flags.md
index b8a190a7..93f75ac4 100644
--- a/docs/content/configuration/config-file/flags.md
+++ b/docs/content/configuration/config-file/flags.md
@@ -22,7 +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. |
+| `hide_time` | Boolean | Hides the time scale. |
| `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. |
diff --git a/src/clap.rs b/src/clap.rs
index 908a1cce..7e7ecee1 100644
--- a/src/clap.rs
+++ b/src/clap.rs
@@ -53,7 +53,7 @@ option.\n\n",
.help("Temporarily shows the time scale in graphs.")
.long_help(
"\
-Automatically hides the time scaling in graphs after being
+Automatically hides the time scale in graphs after being
shown for a brief moment when zoomed in/out. If time is
disabled via --hide_time then this will have no effect.\n\n\n",
);
@@ -149,7 +149,7 @@ Hides the spacing between table headers and entries.\n\n",
.help("Hides the time scale.")
.long_help(
"\
-Completely hides the time scaling from being shown.\n\n",
+Completely hides the time scale from being shown.\n\n",
);
let process_command = Arg::with_name("process_command")