mirror of
https://github.com/quickemu-project/quickemu.git
synced 2024-09-23 00:00:50 +02:00
add short commands
This commit is contained in:
parent
df5cb3c1b7
commit
5ffd8c0626
6
quickget
6
quickget
|
@ -25,7 +25,7 @@ function cleanup() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
if [ "${1}" == '--test-iso-url' ]; then
|
if [ "${1}" == '--test-iso-url' ] || [ "${1}" == '-t' ]; then
|
||||||
test_iso_url="on"
|
test_iso_url="on"
|
||||||
if [ -n "$4" ]; then
|
if [ -n "$4" ]; then
|
||||||
set -- "$2" "$3" "$4"
|
set -- "$2" "$3" "$4"
|
||||||
|
@ -34,7 +34,7 @@ if [ "${1}" == '--test-iso-url' ]; then
|
||||||
else
|
else
|
||||||
set -- "$2"
|
set -- "$2"
|
||||||
fi
|
fi
|
||||||
elif [ "${1}" == '--show-iso-url' ]; then
|
elif [ "${1}" == '--show-iso-url' ] || [ "${1}" == '-s' ]; then
|
||||||
show_iso_url="on"
|
show_iso_url="on"
|
||||||
if [ -n "$4" ]; then
|
if [ -n "$4" ]; then
|
||||||
set -- "$2" "$3" "$4"
|
set -- "$2" "$3" "$4"
|
||||||
|
@ -43,7 +43,7 @@ elif [ "${1}" == '--show-iso-url' ]; then
|
||||||
else
|
else
|
||||||
set -- "$2"
|
set -- "$2"
|
||||||
fi
|
fi
|
||||||
elif [ "${1}" == '--open-distro-homepage' ]; then
|
elif [ "${1}" == '--open-distro-homepage' ] || [ "${1}" == '-o' ]; then
|
||||||
open_distro_homepage="on"
|
open_distro_homepage="on"
|
||||||
set -- "$2"
|
set -- "$2"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue
Block a user