From e326bfa2f8bd8db41c05dacc100d01c5983fd718 Mon Sep 17 00:00:00 2001 From: icenine451 Date: Fri, 18 Oct 2024 09:40:48 -0400 Subject: [PATCH] Add CLI one-time debug logging option --- retrodeck.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/retrodeck.sh b/retrodeck.sh index 146371f4..28499c9d 100644 --- a/retrodeck.sh +++ b/retrodeck.sh @@ -26,6 +26,7 @@ Arguments: -h, --help \t Print this help -v, --version \t Print RetroDECK version --info-msg \t Print paths and config informations + --debug \t Enable debug logging for this launch of RetroDECK (This may miss errors very early in the launch process) --configurator \t Starts the RetroDECK Configurator --compress-one \t Compresses target file to a compatible format --compress-all \t Compresses all supported games into a compatible format.\n\t\t\t\t\t\t Available formats are \"chd\", \"zip\", \"rvz\" and \"all\" @@ -60,6 +61,10 @@ https://retrodeck.net cat $rd_conf exit ;; + --debug*) + logging_level="debug" + shift + ;; --compress-one*) cli_compress_single_game "$2" exit