Просмотр исходного кода

Merge pull request #2413 from bentley/optypo

Fix minor typo: “to to” → “to”.
Jaime Marquínez Ferrándiz 12 лет назад
Родитель
Сommit
f43770d8c9
2 измененных файлов с 2 добавлено и 2 удалено
  1. 1 1
      README.md
  2. 1 1
      youtube_dl/__init__.py

+ 1 - 1
README.md

@@ -20,7 +20,7 @@ which means you can modify it, redistribute it or use it however you like.
                                      sure that you have sufficient permissions
                                      sure that you have sufficient permissions
                                      (run with sudo if needed)
                                      (run with sudo if needed)
     -i, --ignore-errors              continue on download errors, for example to
     -i, --ignore-errors              continue on download errors, for example to
-                                     to skip unavailable videos in a playlist
+                                     skip unavailable videos in a playlist
     --abort-on-error                 Abort downloading of further videos (in the
     --abort-on-error                 Abort downloading of further videos (in the
                                      playlist or the command line) if an error
                                      playlist or the command line) if an error
                                      occurs
                                      occurs

+ 1 - 1
youtube_dl/__init__.py

@@ -208,7 +208,7 @@ def parseOpts(overrideArguments=None):
     general.add_option('-U', '--update',
     general.add_option('-U', '--update',
             action='store_true', dest='update_self', help='update this program to latest version. Make sure that you have sufficient permissions (run with sudo if needed)')
             action='store_true', dest='update_self', help='update this program to latest version. Make sure that you have sufficient permissions (run with sudo if needed)')
     general.add_option('-i', '--ignore-errors',
     general.add_option('-i', '--ignore-errors',
-            action='store_true', dest='ignoreerrors', help='continue on download errors, for example to to skip unavailable videos in a playlist', default=False)
+            action='store_true', dest='ignoreerrors', help='continue on download errors, for example to skip unavailable videos in a playlist', default=False)
     general.add_option('--abort-on-error',
     general.add_option('--abort-on-error',
             action='store_false', dest='ignoreerrors',
             action='store_false', dest='ignoreerrors',
             help='Abort downloading of further videos (in the playlist or the command line) if an error occurs')
             help='Abort downloading of further videos (in the playlist or the command line) if an error occurs')