diff options
author | Luke Bratch <l_bratch@yahoo.co.uk> | 2014-08-04 11:03:36 +0100 |
---|---|---|
committer | Luke Bratch <l_bratch@yahoo.co.uk> | 2014-08-04 11:03:36 +0100 |
commit | fd1cd5f803d5ab7cdab7bb574aabbc69b922d275 (patch) | |
tree | aca9c4069618e52918684cd515fb635e6ee26152 | |
parent | b68a9f5f2ff09fefbcaabe6a41a5b5136adb19c6 (diff) |
Add --verbose alias for the verbose option
-rwxr-xr-x | head.bash | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |