From 7f797ba73405804ebd34776f87e07690e9068d9b Mon Sep 17 00:00:00 2001 From: ServarrAdmin Date: Sun, 17 Aug 2025 14:21:33 -0500 Subject: [PATCH] Fixed: remove duplicate usage function --- scripts/indexer-sync-v2.sh | 32 -------------------------------- 1 file changed, 32 deletions(-) diff --git a/scripts/indexer-sync-v2.sh b/scripts/indexer-sync-v2.sh index 8bcdf14aa..afe2fa452 100755 --- a/scripts/indexer-sync-v2.sh +++ b/scripts/indexer-sync-v2.sh @@ -56,38 +56,6 @@ for blocked in "${BLOCKLIST[@]}"; do blocklist_map["$blocked"]=1 done -usage() { - echo "Usage: $0 [options] - Options: - -r Set the Prowlarr remote name (for pulling/syncing). Default: '$prowlarr_remote_name' - -o Set the push remote name (for pushing changes). Default: '$prowlarr_push_remote' - -b Set the Prowlarr target branch. Default: '$prowlarr_target_branch' - -m Set the operational mode: - - (normal): Default mode with regular operations. - - (dev | development | D | d): - Enables development mode: - - Skips upstream reset. - - Uses local branches. - - Pauses at debugging points for review. - - (jackett | j | J): - Enables Jackett development mode: - - Skips upstream reset. - - Uses existing local Jackett and Prowlarr branches. - - Pauses at debugging points for review. - - Local branch used: $JACKETT_REMOTE_NAME$JACKETT_BRANCH - Default: $mode_choice - -p Enable push to remote. Default: $push_mode - -f Force push if pushing. Default: $push_mode_force - -c Set the commit template for Prowlarr. Default: $PROWLARR_COMMIT_TEMPLATE - -u Set the Prowlarr repository URL. Default: $PROWLARR_REPO_URL - -j Set the Jackett repository URL. Default: $JACKETT_REPO_URL - -R Set the Prowlarr release branch. Default: $PROWLARR_RELEASE_BRANCH - -J Set the Jackett branch. Default: $JACKETT_BRANCH - -n Set the Jackett remote name. Default: $JACKETT_REMOTE_NAME - -z Skip backporting. Default: $SKIP_BACKPORT - -a Enable automation mode (skip interactive prompts). Default: $automation_mode" - exit 1 -} # Prowlarr Schema Versions ## v1 frozen 2021-10-13