]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/options.py
[options] Rename `--clean-infojson` to `--clean-info-json`
[yt-dlp.git] / yt_dlp / options.py
index d89f74ac5c3f287570c4d3074c451e8ee85be4a7..2ba7d2601bb311cf9e73403a6f079c69ca365122 100644 (file)
@@ -1208,13 +1208,13 @@ def _dict_from_options_callback(
         action='store_false', dest='allow_playlist_files',
         help='Do not write playlist metadata when using --write-info-json, --write-description etc.')
     filesystem.add_option(
-        '--clean-infojson',
+        '--clean-info-json', '--clean-infojson',
         action='store_true', dest='clean_infojson', default=None,
         help=(
             'Remove some private fields such as filenames from the infojson. '
             'Note that it could still contain some personal information (default)'))
     filesystem.add_option(
-        '--no-clean-infojson',
+        '--no-clean-info-json', '--no-clean-infojson',
         action='store_false', dest='clean_infojson',
         help='Write all fields to the infojson')
     filesystem.add_option(