From af693e46fcdc99016fddd802aa4ed9663c36c038 Mon Sep 17 00:00:00 2001 From: Alexander Schmidt Date: Wed, 8 Nov 2017 18:27:14 +0100 Subject: [PATCH] Default to timespan of 24 hours --- bitvalue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 2.39.2