Update README.md, Changelog.md

This commit is contained in:
Stephen Seo 2022-12-13 20:05:09 +09:00
parent fb4d32e257
commit d5d9ec98dd
3 changed files with 14 additions and 11 deletions

View file

@ -2,6 +2,8 @@
## Upcoming Changes ## Upcoming Changes
Impl. changing the size of the net-graph (default 10).
## 0.1.8 ## 0.1.8
Impl. showing the maximum value in a dynamic netgraph. Impl. showing the maximum value in a dynamic netgraph.

View file

@ -22,6 +22,7 @@ tiling Wayland compositor](https://swaywm.org).
--netdev_width=<width> Sets the min-width of the netdev output (default 11) --netdev_width=<width> Sets the min-width of the netdev output (default 11)
--netgraph_max_bytes=<bytes> Enable "graph" output when polling network traffic --netgraph_max_bytes=<bytes> Enable "graph" output when polling network traffic
(Set to "dynamic" instead of a byte count for dynamic sizing) (Set to "dynamic" instead of a byte count for dynamic sizing)
--netgraph_size=<size> Set the number of characters displayed in the net-graph (size of graph; default 10)
--netgraph_dyn_display Enable showing the current maximum value in the graph --netgraph_dyn_display Enable showing the current maximum value in the graph
--interval-sec=<seconds> Output at intervals of <seconds> (default 5) --interval-sec=<seconds> Output at intervals of <seconds> (default 5)
--acpi-builtin Use "acpi -b" built-in fetching (battery info, with color) --acpi-builtin Use "acpi -b" built-in fetching (battery info, with color)

View file

@ -73,7 +73,7 @@ pub fn print_usage() {
.write_all(b" \t\t\t\t (Set to \"dynamic\" instead of a byte count for dynamic sizing)\n") .write_all(b" \t\t\t\t (Set to \"dynamic\" instead of a byte count for dynamic sizing)\n")
.ok(); .ok();
stderr_handle stderr_handle
.write_all(b" --netgraph_size=<size>\t\t\t\tSet the number of characters displayed in the net-graph (size of graph)\n") .write_all(b" --netgraph_size=<size>\t\t\t\tSet the number of characters displayed in the net-graph (size of graph; default 10)\n")
.ok(); .ok();
stderr_handle stderr_handle
.write_all(b" --netgraph_dyn_display\t\t\t\tEnable showing the current maximum value in the graph\n") .write_all(b" --netgraph_dyn_display\t\t\t\tEnable showing the current maximum value in the graph\n")