From d5d9ec98dd8304c8d7b30bb079be5292d3cba7a4 Mon Sep 17 00:00:00 2001 From: Stephen Seo Date: Tue, 13 Dec 2022 20:05:09 +0900 Subject: [PATCH] Update README.md, Changelog.md --- Changelog.md | 2 ++ README.md | 21 +++++++++++---------- src/args.rs | 2 +- 3 files changed, 14 insertions(+), 11 deletions(-) diff --git a/Changelog.md b/Changelog.md index 9b4bdbf..377ae54 100644 --- a/Changelog.md +++ b/Changelog.md @@ -2,6 +2,8 @@ ## Upcoming Changes +Impl. changing the size of the net-graph (default 10). + ## 0.1.8 Impl. showing the maximum value in a dynamic netgraph. diff --git a/README.md b/README.md index b0af223..acee6f0 100644 --- a/README.md +++ b/README.md @@ -16,17 +16,18 @@ tiling Wayland compositor](https://swaywm.org). ## Help Text - Usage: - -h | --help Prints help - --netdev= Check network traffic on specified device - --netdev_width= Sets the min-width of the netdev output (default 11) - --netgraph_max_bytes= Enable "graph" output when polling network traffic + Usage: + -h | --help Prints help + --netdev= Check network traffic on specified device + --netdev_width= Sets the min-width of the netdev output (default 11) + --netgraph_max_bytes= Enable "graph" output when polling network traffic (Set to "dynamic" instead of a byte count for dynamic sizing) - --netgraph_dyn_display Enable showing the current maximum value in the graph - --interval-sec= Output at intervals of (default 5) - --acpi-builtin Use "acpi -b" built-in fetching (battery info, with color) - --regex-cmd=[SPLIT][SPLIT] Use an output of a command as a metric - --time-format= Set the format string for the date + --netgraph_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 + --interval-sec= Output at intervals of (default 5) + --acpi-builtin Use "acpi -b" built-in fetching (battery info, with color) + --regex-cmd=[SPLIT][SPLIT] Use an output of a command as a metric + --time-format= Set the format string for the date ## Usage diff --git a/src/args.rs b/src/args.rs index c460322..e78e3d8 100644 --- a/src/args.rs +++ b/src/args.rs @@ -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") .ok(); stderr_handle - .write_all(b" --netgraph_size=\t\t\t\tSet the number of characters displayed in the net-graph (size of graph)\n") + .write_all(b" --netgraph_size=\t\t\t\tSet the number of characters displayed in the net-graph (size of graph; default 10)\n") .ok(); stderr_handle .write_all(b" --netgraph_dyn_display\t\t\t\tEnable showing the current maximum value in the graph\n")