Missed part of the script off the end
This commit is contained in:
+19
-2
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user