X-Git-Url: https://jfr.im/git/yt-dlp.git/blobdiff_plain/67002a5ad82510e1f7aff7903eaa87c29828d5f7..8a51f564395b79e66b7e6c61176337af57baa28a:/youtube_dlc/options.py diff --git a/youtube_dlc/options.py b/youtube_dlc/options.py index 2e14c0483..96c6faae9 100644 --- a/youtube_dlc/options.py +++ b/youtube_dlc/options.py @@ -137,11 +137,11 @@ def _comma_separated_values_options_callback(option, opt_str, value, parser): general.add_option( '-i', '--ignore-errors', '--no-abort-on-error', action='store_true', dest='ignoreerrors', default=True, - help='Continue on download errors, for example to skip unavailable videos in a playlist (default)') + help='Continue on download errors, for example to skip unavailable videos in a playlist (default) (Alias: --no-abort-on-error)') general.add_option( '--abort-on-error', '--no-ignore-errors', action='store_false', dest='ignoreerrors', - help='Abort downloading of further videos if an error occurs') + help='Abort downloading of further videos if an error occurs (Alias: --no-ignore-errors)') general.add_option( '--dump-user-agent', action='store_true', dest='dump_user_agent', default=False, @@ -161,7 +161,7 @@ def _comma_separated_values_options_callback(option, opt_str, value, parser): general.add_option( '--default-search', dest='default_search', metavar='PREFIX', - help='Use this prefix for unqualified URLs. For example "gvsearch2:" downloads two videos from google videos for youtube-dl "large apple". Use the value "auto" to let youtube-dl guess ("auto_warning" to emit a warning when guessing). "error" just throws an error. The default value "fixup_error" repairs broken URLs, but emits an error if this is not possible instead of searching.') + help='Use this prefix for unqualified URLs. For example "gvsearch2:" downloads two videos from google videos for youtube-dl "large apple". Use the value "auto" to let youtube-dl guess ("auto_warning" to emit a warning when guessing). "error" just throws an error. The default value "fixup_error" repairs broken URLs, but emits an error if this is not possible instead of searching') general.add_option( '--ignore-config', '--no-config', action='store_true', @@ -169,15 +169,15 @@ def _comma_separated_values_options_callback(option, opt_str, value, parser): 'Disable loading any configuration files except the one provided by --config-location. ' 'When given inside a configuration file, no further configuration files are loaded. ' 'Additionally, (for backward compatibility) if this option is found inside the ' - 'system configuration file, the user configuration is not loaded.')) + 'system configuration file, the user configuration is not loaded')) general.add_option( '--config-location', dest='config_location', metavar='PATH', - help='Location of the configuration file; either the path to the config or its containing directory.') + help='Location of the configuration file; either the path to the config or its containing directory') general.add_option( '--flat-playlist', action='store_const', dest='extract_flat', const='in_playlist', default=False, - help='Do not extract the videos of a playlist, only list them.') + help='Do not extract the videos of a playlist, only list them') general.add_option( '--flat-videos', action='store_true', dest='extract_flat', @@ -195,7 +195,7 @@ def _comma_separated_values_options_callback(option, opt_str, value, parser): action='store_false', dest='mark_watched', default=False, help='Do not mark videos watched') general.add_option( - '--no-color', '--no-colors', + '--no-colors', action='store_true', dest='no_color', default=False, help='Do not emit color codes in output') @@ -235,7 +235,7 @@ def _comma_separated_values_options_callback(option, opt_str, value, parser): dest='geo_verification_proxy', default=None, metavar='URL', help=( 'Use this proxy to verify the IP address for some geo-restricted sites. ' - 'The default proxy specified by --proxy (or none, if the option is not present) is used for the actual downloading.')) + 'The default proxy specified by --proxy (or none, if the option is not present) is used for the actual downloading')) geo.add_option( '--cn-verification-proxy', dest='cn_verification_proxy', default=None, metavar='URL', @@ -269,7 +269,7 @@ def _comma_separated_values_options_callback(option, opt_str, value, parser): selection.add_option( '--playlist-items', dest='playlist_items', metavar='ITEM_SPEC', default=None, - help='Playlist video items to download. Specify indices of the videos in the playlist separated by commas like: "--playlist-items 1,2,5,8" if you want to download videos indexed 1, 2, 5, 8 in the playlist. You can specify range: "--playlist-items 1-3,7,10-13", it will download the videos at index 1, 2, 3, 7, 10, 11, 12 and 13.') + help='Playlist video items to download. Specify indices of the videos in the playlist separated by commas like: "--playlist-items 1,2,5,8" if you want to download videos indexed 1, 2, 5, 8 in the playlist. You can specify range: "--playlist-items 1-3,7,10-13", it will download the videos at index 1, 2, 3, 7, 10, 11, 12 and 13') selection.add_option( '--match-title', dest='matchtitle', metavar='REGEX', @@ -294,8 +294,8 @@ def _comma_separated_values_options_callback(option, opt_str, value, parser): '--date', metavar='DATE', dest='date', default=None, help=( - 'Download only videos uploaded in this date.' - 'The date can be "YYYYMMDD" or in the format' + 'Download only videos uploaded in this date. ' + 'The date can be "YYYYMMDD" or in the format ' '"(now|today)[+-][0-9](day|week|month|year)(s)?"')) selection.add_option( '--datebefore', @@ -322,10 +322,10 @@ def _comma_separated_values_options_callback(option, opt_str, value, parser): metavar='FILTER', dest='match_filter', default=None, help=( 'Generic video filter. ' - 'Specify any key (see the "OUTPUT TEMPLATE" for a list of available keys) to ' + 'Specify any key (see "OUTPUT TEMPLATE" for a list of available keys) to ' 'match if the key is present, ' '!key to check if the key is not present, ' - 'key > NUMBER (like "comment_count > 12", also works with ' + 'key>NUMBER (like "comment_count > 12", also works with ' '>=, <, <=, !=, =) to compare against a number, ' 'key = \'LITERAL\' (like "uploader = \'Mike Smith\'", also works with !=) ' 'to match against a string literal ' @@ -336,7 +336,7 @@ def _comma_separated_values_options_callback(option, opt_str, value, parser): '100 times and disliked less than 50 times (or the dislike ' 'functionality is not available at the given service), but who ' 'also have a description, use --match-filter ' - '"like_count > 100 & dislike_count 100 & dislike_count