From fd1cd5f803d5ab7cdab7bb574aabbc69b922d275 Mon Sep 17 00:00:00 2001 From: Luke Bratch Date: Mon, 4 Aug 2014 11:03:36 +0100 Subject: Add --verbose alias for the verbose option --- head.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/head.bash b/head.bash index 7675bd0..1b5c5ef 100755 --- a/head.bash +++ b/head.bash @@ -12,7 +12,7 @@ elif [[ $arg1 = "-h" || $arg1 = "--help" ]] then echo "Give an HTTP URL to get its MIME type, size and modified date. -v for verbose output, --help for this help message, --version for the version number." exit -elif [[ $arg1 = "-v" ]] +elif [[ $arg1 = "-v" || $arg1 = "--verbose" ]] then curl -sI "$argrest" | sed ':a;N;$!ba;s/\r\n/ | /g' | sed 's/ | \r$//' exit -- cgit v1.2.3