Skip to content

Commit

Permalink
add short commands
Browse files Browse the repository at this point in the history
  • Loading branch information
zen0bit committed Oct 26, 2023
1 parent c956ad9 commit 481f257
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions quickget
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
Expand All @@ -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
Expand Down

0 comments on commit 481f257

Please sign in to comment.