aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2022-12-05 20:49:04 +0000
committerterminaldweller <thabogre@gmail.com>2022-12-05 20:49:04 +0000
commit2077fba8a11ab148c229d93842a9cc6b74f649b9 (patch)
tree4449a2b077ceae4a3c888726cd4e45ae6b7cd41b /bin
parentupdate (diff)
downloadscripts-2077fba8a11ab148c229d93842a9cc6b74f649b9.tar.gz
scripts-2077fba8a11ab148c229d93842a9cc6b74f649b9.zip
update
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"