summaryrefslogtreecommitdiff
path: root/head.bash
diff options
context:
space:
mode:
Diffstat (limited to 'head.bash')
-rwxr-xr-xhead.bash2
1 files changed, 1 insertions, 1 deletions
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