]> git.seodisparate.com - swaybar_info/commitdiff
Update README.md, Changelog.md
authorStephen Seo <seo.disparate@gmail.com>
Tue, 13 Dec 2022 11:05:09 +0000 (20:05 +0900)
committerStephen Seo <seo.disparate@gmail.com>
Tue, 13 Dec 2022 11:05:09 +0000 (20:05 +0900)
Changelog.md
README.md
src/args.rs

index 9b4bdbf2e9ddd4d3884c9ff1391dbc0e62ed3042..377ae54d26f4c5672c9b411ef5fa09642ea876c1 100644 (file)
@@ -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.
index b0af22335bce56ac07bc40cb0a7b323e3fd7591b..acee6f01036abb4a789498554ddbef6208d72c69 100644 (file)
--- a/README.md
+++ b/README.md
@@ -16,17 +16,18 @@ tiling Wayland compositor](https://swaywm.org).
 
 ## Help Text
 
-    Usage:
-      -h | --help                                       Prints help
-      --netdev=<device_name>                            Check network traffic on specified device
-      --netdev_width=<width>                            Sets the min-width of the netdev output (default 11)
-      --netgraph_max_bytes=<bytes>                      Enable "graph" output when polling network traffic
+     Usage:
+       -h | --help                                      Prints help
+       --netdev=<device_name>                           Check network traffic on specified device
+       --netdev_width=<width>                           Sets the min-width of the netdev output (default 11)
+       --netgraph_max_bytes=<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=<seconds>                          Output at intervals of <seconds> (default 5)
-      --acpi-builtin                                    Use "acpi -b" built-in fetching (battery info, with color)
-      --regex-cmd=<cmd>[SPLIT]<args...>[SPLIT]<regex>   Use an output of a command as a metric
-      --time-format=<date format string>                Set the format string for the date
+       --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
+       --interval-sec=<seconds>                         Output at intervals of <seconds> (default 5)
+       --acpi-builtin                                   Use "acpi -b" built-in fetching (battery info, with color)
+       --regex-cmd=<cmd>[SPLIT]<args...>[SPLIT]<regex>  Use an output of a command as a metric
+       --time-format=<date format string>               Set the format string for the date
 
 ## Usage
 
index c4603227b689ff2d10bfb549dcffeb510e28369f..e78e3d8cff6f76fa4ef6ce6d818f4ae0c54bc8d0 100644 (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")
         .ok();
     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();
     stderr_handle
         .write_all(b"  --netgraph_dyn_display\t\t\t\tEnable showing the current maximum value in the graph\n")