]> git.treefish.org Git - bitvalue.git/commitdiff
Added possible timespans to usage help
authorAlexander Schmidt <alex@treefish.org>
Wed, 8 Nov 2017 19:12:42 +0000 (20:12 +0100)
committerAlexander Schmidt <alex@treefish.org>
Wed, 8 Nov 2017 19:12:42 +0000 (20:12 +0100)
bitvalue

index 9cb4ee96eaf94cb081d4e9964708d3e358e6efac..4445017576083b5523a921f35d84c4b9bbe9bdd7 100755 (executable)
--- a/bitvalue
+++ b/bitvalue
@@ -5,12 +5,12 @@ HOST=data.bitcoinity.org
 
 TIMESPAN="24h"
 
-USAGE="Usage: $(basename "$0") [-h] [-t val]
+USAGE="Usage: $(basename "$0") [-h] [-t 10m|1h|24h|3d|7d|30d|6m|2y|5y|all]
 Simple bash script to visualize the value of your bitcoin investment.
 
 Arguments:
   -h  show this help text
-  -t  set the timespan (default: $TIMESPAN)"
+  -t  used timespan (default: $TIMESPAN)"
 
 while getopts ':ht:' option; do
     case "$option" in