浏览代码

Fix minor typo: “to to” → “to”.

Anthony J. Bentley 11 年之前
父节点
当前提交
98c4b8fa1b
共有 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')