mirror of
https://github.com/ClementTsang/bottom.git
synced 2026-07-09 06:01:04 +00:00
docs: memory.legend_position -> memory_graph.legend_position (#2096)
This commit is contained in:
@@ -50,7 +50,7 @@ each time:
|
||||
| `retention` | String (human readable time, such as "10m", "1h", etc.) | How much data is stored at once in terms of time. |
|
||||
| `unnormalized_cpu` | Boolean | Deprecated - use `processes.unnormalized_cpu`. Show process CPU% without normalizing over the number of cores. |
|
||||
| `expanded` | Boolean | Expand the default widget upon starting the app. |
|
||||
| `memory_legend` | String (one of ["none", "top-left", "top", "top-right", "left", "right", "bottom-left", "bottom", "bottom-right"]) | Deprecated - use `memory.legend_position`. Where to place the legend for the memory widget. |
|
||||
| `memory_legend` | String (one of ["none", "top-left", "top", "top-right", "left", "right", "bottom-left", "bottom", "bottom-right"]) | Deprecated - use `memory_graph.legend_position`. Where to place the legend for the memory widget. |
|
||||
| `network_legend` | String (one of ["none", "top-left", "top", "top-right", "left", "right", "bottom-left", "bottom", "bottom-right"]) | Deprecated - use `network_graph.legend_position`. Where to place the legend for the network widget. |
|
||||
| `average_cpu_row` | Boolean | Deprecated - use `cpu.basic_average_cpu_row`. Moves the average CPU usage entry to its own row when using basic mode. |
|
||||
| `tree_collapse` | Boolean | Deprecated - use `processes.tree_collapse`. Collapse process tree by default. |
|
||||
|
||||
@@ -147,7 +147,7 @@
|
||||
# How much data is stored at once in terms of time.
|
||||
#retention = "10m"
|
||||
|
||||
# Deprecated - use memory.legend_position.
|
||||
# Deprecated - use memory_graph.legend_position.
|
||||
# Where to place the legend for the memory widget. One of "none", "top-left", "top", "top-right", "left", "right", "bottom-left", "bottom", "bottom-right".
|
||||
#memory_legend = "top-right"
|
||||
|
||||
|
||||
+1
-1
@@ -396,7 +396,7 @@ pub(crate) const CONFIG_TEXT: &str = r#"# This is a default config file for bott
|
||||
# How much data is stored at once in terms of time.
|
||||
#retention = "10m"
|
||||
|
||||
# Deprecated - use memory.legend_position.
|
||||
# Deprecated - use memory_graph.legend_position.
|
||||
# Where to place the legend for the memory widget. One of "none", "top-left", "top", "top-right", "left", "right", "bottom-left", "bottom", "bottom-right".
|
||||
#memory_legend = "top-right"
|
||||
|
||||
|
||||
+1
-1
@@ -1326,7 +1326,7 @@ fn get_memory_legend_position(
|
||||
.as_ref()
|
||||
.and_then(|flags| flags.memory_legend.as_ref())
|
||||
.map(|s| (s, "memory_legend")),
|
||||
"memory.legend_position",
|
||||
"memory_graph.legend_position",
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user