aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/get_random_ua.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/get_random_ua.sh b/bin/get_random_ua.sh
index 3737a89..c4bb38c 100755
--- a/bin/get_random_ua.sh
+++ b/bin/get_random_ua.sh
@@ -42,7 +42,7 @@ get_ua() {
shuf -n 1 "${UA_FILE}"
}
-if [ "$1" = "--help" ]; then
+if [ "$1" = "--help" ] || [ "$1" = "-h" ]; then
echo "prints a random user agent string."
echo "you can specify a --kind to get a random user agent of a specific browser."
echo "currently the valid values are: andy,opera,ffox,ie,chrome,edge,safari,all"