From: Alexander Schmidt Date: Wed, 8 Nov 2017 17:27:14 +0000 (+0100) Subject: Default to timespan of 24 hours X-Git-Url: http://git.treefish.org/~alex/bitvalue.git/commitdiff_plain/af693e46fcdc99016fddd802aa4ed9663c36c038 Default to timespan of 24 hours --- diff --git a/bitvalue b/bitvalue index 831145d..7ae8888 100755 --- a/bitvalue +++ b/bitvalue @@ -2,14 +2,14 @@ CONFIG=~/.bitvaluerc +TIMESPAN="24h" + USAGE="Usage: $(basename "$0") [-h] [-t val] Simple bash script to visualize the value of your bitcoin investment. Arguments: -h show this help text - -t set the timespan (default: 30d)" - -TIMESPAN="30d" + -t set the timespan (default: $TIMESPAN)" while getopts ':ht:' option; do case "$option" in