From 24fcc55a23d28dd08eb3399dcd0f34cd047bcc75 Mon Sep 17 00:00:00 2001 From: Phil Date: Thu, 25 Jun 2026 12:02:55 +0100 Subject: [PATCH] Missed part of the script off the end --- podcast-downloader.sh | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/podcast-downloader.sh b/podcast-downloader.sh index f3055d8..1ec5cab 100644 --- a/podcast-downloader.sh +++ b/podcast-downloader.sh @@ -419,8 +419,25 @@ show_help() { cat << EOF YouTube Playlist Downloader with Database -Usage: $0 [COMMAND] [OPTIONS] +Usage: $0 [--cron] [COMMAND] [OPTIONS] + +Global Options: + --cron Run in cron mode (disables colors, logs to file only) Commands: run [PLAYLIST_NAME] Download new videos from specified playlist, or all if not specified - + list [N] List the last N downloaded videos (default: 10) + playlists List all configured playlists + stats Show database statistics + reset Clear the entire database (WARNING: irreversible) + help Show this help message + +Examples: + $0 run # Download all enabled playlists + $0 run "My First Playlist" # Download specific playlist + $0 stats # Show statistics + $0 list 20 # Show last 20 downloads + $0 --cron run # Run in cron mode + +EOF +}