X-Git-Url: https://git.rapsys.eu/youtubedl/blobdiff_plain/099764c0c91f4ad7db03d9347798f8619383ea7e..bf1a4aeb743ab84d0eed6bae85c03e408576e391:/youtube_dl/options.py diff --git a/youtube_dl/options.py b/youtube_dl/options.py index 16aa6ff..2e8c715 100644 --- a/youtube_dl/options.py +++ b/youtube_dl/options.py @@ -222,7 +222,7 @@ def parseOpts(overrideArguments=None): selection.add_option( '--no-playlist', action='store_true', dest='noplaylist', default=False, - help='download only the currently playing video') + help='If the URL refers to a video and a playlist, download only the video.') selection.add_option( '--age-limit', metavar='YEARS', dest='age_limit', default=None, type=int, @@ -262,7 +262,8 @@ def parseOpts(overrideArguments=None): video_format.add_option( '-f', '--format', action='store', dest='format', metavar='FORMAT', default=None, - help='video format code, specify the order of preference using' + help=( + 'video format code, specify the order of preference using' ' slashes: -f 22/17/18 . -f mp4 , -f m4a and -f flv are also' ' supported. You can also use the special names "best",' ' "bestvideo", "bestaudio", "worst", "worstvideo" and' @@ -271,7 +272,7 @@ def parseOpts(overrideArguments=None): ' -f 136/137/mp4/bestvideo,140/m4a/bestaudio.' ' You can merge the video and audio of two formats into a single' ' file using -f + (requires ffmpeg or' - ' avconv), for example -f bestvideo+bestaudio.') + ' avconv), for example -f bestvideo+bestaudio.')) video_format.add_option( '--all-formats', action='store_const', dest='format', const='all', @@ -621,7 +622,7 @@ def parseOpts(overrideArguments=None): postproc.add_option( '--exec', metavar='CMD', dest='exec_cmd', - help='Execute a command on the file after downloading, similar to find\'s -exec syntax. Example: --exec \'adb push {} /sdcard/Music/ && rm {}\'' ) + help='Execute a command on the file after downloading, similar to find\'s -exec syntax. Example: --exec \'adb push {} /sdcard/Music/ && rm {}\'') parser.add_option_group(general) parser.add_option_group(selection)