From 5ffd8c0626bd19a77dda1e12806885bc758be9b0 Mon Sep 17 00:00:00 2001 From: zenobit Date: Thu, 26 Oct 2023 14:55:32 +0200 Subject: [PATCH] add short commands --- quickget | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/quickget b/quickget index bebba5b..9adb329 100755 --- a/quickget +++ b/quickget @@ -25,7 +25,7 @@ function cleanup() { fi } -if [ "${1}" == '--test-iso-url' ]; then +if [ "${1}" == '--test-iso-url' ] || [ "${1}" == '-t' ]; then test_iso_url="on" if [ -n "$4" ]; then set -- "$2" "$3" "$4" @@ -34,7 +34,7 @@ if [ "${1}" == '--test-iso-url' ]; then else set -- "$2" fi -elif [ "${1}" == '--show-iso-url' ]; then +elif [ "${1}" == '--show-iso-url' ] || [ "${1}" == '-s' ]; then show_iso_url="on" if [ -n "$4" ]; then set -- "$2" "$3" "$4" @@ -43,7 +43,7 @@ elif [ "${1}" == '--show-iso-url' ]; then else set -- "$2" fi -elif [ "${1}" == '--open-distro-homepage' ]; then +elif [ "${1}" == '--open-distro-homepage' ] || [ "${1}" == '-o' ]; then open_distro_homepage="on" set -- "$2" fi