bwcalc: update readme and usage master
authorMichael Adam <obnox@samba.org>
Tue, 3 Nov 2015 10:50:15 +0000 (11:50 +0100)
committerMichael Adam <obnox@samba.org>
Tue, 3 Nov 2015 10:50:15 +0000 (11:50 +0100)
Signed-off-by: Michael Adam <obnox@samba.org>
README.md
bwcalc

index 8b7cbe13a4e1f8bb98dd5671193e5373cc1e48c9..0580ff0e86622ff8e4521a4c1f15080d76b52da3 100644 (file)
--- a/README.md
+++ b/README.md
@@ -1,4 +1,6 @@
-# bwcalc - a bandwidth/size/time calculator
+# bwcalc
+
+A bandwidth/size/time calculator and converter
 
 Version 0.2 2004-10-12
 
@@ -25,10 +27,10 @@ USAGE: bwcalc [-s <size>] [-t <time>] [-b <bw>] [-o <unit>] [-p <num>] [-l]
   and <base> can be "b" for bit and "B" for byte. The default
   base unit is "b" for bandwidth and "B" for size.
 
-  The ouptut unit for size and bandwidth target can be given
-  with the the -o options in the same way as for the input options.
-  The default for the base unit is bit for bandwidth target and
-  bytes for size target.
+  The output unit for the size and bandwidth targets can be specified
+  with the the -o option in the same way as for the input options.
+  The default for the base unit is bit for the bandwidth target and
+  bytes for the size target.
 
   The precision for rounding output can be given with the "-p" switch.
 
diff --git a/bwcalc b/bwcalc
index 86dc438b24353b5666b19a7ddedf764101917458..f8d4ad1ffef527678986abcb3713a42ffc34bdd8 100755 (executable)
--- a/bwcalc
+++ b/bwcalc
@@ -317,10 +317,10 @@ USAGE: bwcalc [-s <size>] [-t <time>] [-b <bw>] [-o <unit>] [-p <num>] [-l]
   and <base> can be "b" for bit and "B" for byte. The default
   base unit is "b" for bandwidth and "B" for size.
 
-  The ouptut unit for size and bandwidth target can be given
-  with the the -o options in the same way as for the input options.
-  The default for the base unit is bit for bandwidth target and
-  bytes for size target.
+  The output unit for the size and bandwidth targets can be specified
+  with the the -o option in the same way as for the input options.
+  The default for the base unit is bit for the bandwidth target and
+  bytes for size the target.
 
   The precision for rounding output can be given with the "-p" switch.