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
|
||||
;;
|
||||
#TODO: Argument list_json should be DEPRECATED!
|
||||
'--list-json'|'-lj'|'list_json')
|
||||
list_json
|
||||
;;
|
||||
esac
|
||||
|
||||
if [ -n "${1}" ]; then
|
||||
OS="${1,,}"
|
||||
if [ "${OS}" == "list_json" ]; then
|
||||
list_json
|
||||
if [ "${OS}" == "list" ] || [ "${OS}" == "list_csv" ]; then
|
||||
list_csv
|
||||
fi
|
||||
else
|
||||
error_specify_os
|
||||
|
|
Loading…
Reference in New Issue