Missed part of the script off the end

This commit is contained in:
2026-06-25 12:02:55 +01:00
parent 4e6859bd97
commit 24fcc55a23
+19 -2
View File
@@ -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
}