mirror of
https://github.com/ClementTsang/bottom.git
synced 2025-04-08 17:05:59 +02:00
Fix typo in code... oops.
This commit is contained in:
parent
ad4f124d9d
commit
b52b5ea1de
@ -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
|
||||
|
@ -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);
|
||||
|
@ -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.")
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user