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 7b031c9 commit 83411a3
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

1 comment on commit 83411a3

@TuxVinyards
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Woo --open-distro-homepage 🚀

Please sign in to comment.