fix: bash black magic

This commit is contained in:
v4n
2025-02-21 16:06:20 +02:00
parent 77ae53ffa7
commit a031230117
+17 -17
View File
@@ -1095,55 +1095,55 @@ function main() {
check_for_updates check_for_updates
case "$command" in case "$command" in
install|i) "install"|"i")
mod_install "$@" mod_install "$@"
;; ;;
list|l) "list"|"l")
mod_list "$@" mod_list "$@"
;; ;;
uninstall|u) "uninstall"|"u")
mod_uninstall "$@" mod_uninstall "$@"
;; ;;
enable|e) "enable"|"e")
mod_enable "$@" mod_enable "$@"
;; ;;
disable|d) "disable"|"d")
mod_disable "$@" mod_disable "$@"
;; ;;
export|ex) "export"|"ex")
mod_export "$@" mod_export "$@"
;; ;;
import|im) "import"|"im")
mod_import "$@" mod_import "$@"
;; ;;
modpack-list|ml) "modpack-list"|"ml")
modpack_list "$@" modpack_list "$@"
;; ;;
modpack-create|mc) "modpack-create"|"mc")
modpack_create "$@" modpack_create "$@"
;; ;;
modpack-delete|md) "modpack-delete"|"md")
modpack_delete "$@" modpack_delete "$@"
;; ;;
modpack-overwrite|mo) "modpack-overwrite"|"mo")
modpack_overwrite "$@" modpack_overwrite "$@"
;; ;;
modpack-switch|ms) "modpack-switch"|"ms")
modpack_switch "$@" modpack_switch "$@"
;; ;;
modpack-reset|mr) "modpack-reset"|"mr")
modpack_reset "$@" modpack_reset "$@"
;; ;;
reset|r) "reset"|"r")
mod_reset "$@" mod_reset "$@"
;; ;;
version|v|-v|--version) "version"|"v"|"-v"|"--version")
echo "${VERSION}" echo "${VERSION}"
;; ;;
update|up) "update"|"up")
self_update self_update
;; ;;
help|--help|-h|h) "help"|"--help"|"-h"|"h")
display_help display_help
;; ;;
*) *)