summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClementTsang <clementjhtsang@gmail.com>2019-12-28 01:21:49 -0500
committerClementTsang <clementjhtsang@gmail.com>2019-12-28 01:21:49 -0500
commitb52b5ea1de72bc620d869355be9eb6e5a6ad6653 (patch)
treef9314eb4c09bf31f87400ddd076ace07f957e0d0
parentad4f124d9d0f87b3f21169d8c8d08267596cfaae (diff)
Fix typo in code... oops.
-rw-r--r--README.md2
-rw-r--r--src/data_conversion.rs2
-rw-r--r--src/main.rs2
3 files changed, 4 insertions, 2 deletions
diff --git a/README.md b/README.md
index 77095864..4d02d521 100644
--- a/README.md
+++ b/README.md
@@ -44,6 +44,8 @@ Note that all options and keybindings on GitHub may reflect the current developm
- `-r <RATE>`, `--rate <RATE>` will set the refresh rate in _milliseconds_. Lowest it can go is 250ms, the highest it can go is 2<sup>128</sup> - 1. Defaults to 1000ms, and lower values may take more resources due to more frequent polling of data, and may be less accurate in some circumstances.
+- `-l`, `--left_legend` will move external table legends to the left side rather than the right side. Right side is default.
+
### Keybindings
#### General
diff --git a/src/data_conversion.rs b/src/data_conversion.rs
index eaf676ca..98d6f096 100644
--- a/src/data_conversion.rs
+++ b/src/data_conversion.rs
@@ -284,7 +284,7 @@ pub fn convert_network_data_points(network_data: &[data_collection::network::Net
if let Some(last_num_bytes_entry) = network_data.last() {
rx_converted_result = get_exact_byte_values(last_num_bytes_entry.rx, true);
- total_rx_converted_result = get_exact_byte_values(last_num_bytes_entry.total_rx, truefalse
+ total_rx_converted_result = get_exact_byte_values(last_num_bytes_entry.total_rx, false)
} else {
rx_converted_result = get_exact_byte_values(0, true);
total_rx_converted_result = get_exact_byte_values(0, false);
diff --git a/src/main.rs b/src/main.rs
index fd8536e0..1f2e9f84 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -65,7 +65,7 @@ fn main() -> error::Result<()> {
(@arg KELVIN : -k --kelvin "Sets the temperature type to Kelvin.")
)
(@arg RATE_MILLIS: -r --rate +takes_value "Sets a refresh rate in milliseconds; the minimum is 250ms, defaults to 1000ms. Smaller values may take more resources.")
- (@arg LEFT_LEGEND: -l --left_legend "Puts table legends on the left side rather than the default right side.")
+ (@arg LEFT_LEGEND: -l --left_legend "Puts external chart legends on the left side rather than the default right side.")
//(@arg CONFIG_LOCATION: -co --config +takes_value "Sets the location of the config file. Expects a config file in the JSON format.")
//(@arg BASIC_MODE: -b --basic "Sets bottom to basic mode, not showing graphs and only showing basic tables.")
)