From b3524d11064ecd1341b5f4da453a88352a011905 Mon Sep 17 00:00:00 2001 From: zen0bit Date: Sun, 21 Apr 2024 00:08:52 +0200 Subject: [PATCH] feat: Add --list-json to new run script --- quickget | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/quickget b/quickget index 49937f8..872c324 100755 --- a/quickget +++ b/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