feat: Add --list-json to new run script
This commit is contained in:
parent
4099961577
commit
b3524d1106
8
quickget
8
quickget
|
@ -3552,12 +3552,16 @@ case "${1}" in
|
||||||
'--list-csv'|'-lc'|'list')
|
'--list-csv'|'-lc'|'list')
|
||||||
list_csv
|
list_csv
|
||||||
;;
|
;;
|
||||||
|
#TODO: Argument list_json should be DEPRECATED!
|
||||||
|
'--list-json'|'-lj'|'list_json')
|
||||||
|
list_json
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
if [ -n "${1}" ]; then
|
if [ -n "${1}" ]; then
|
||||||
OS="${1,,}"
|
OS="${1,,}"
|
||||||
if [ "${OS}" == "list_json" ]; then
|
if [ "${OS}" == "list" ] || [ "${OS}" == "list_csv" ]; then
|
||||||
list_json
|
list_csv
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
error_specify_os
|
error_specify_os
|
||||||
|
|
Loading…
Reference in New Issue