瀏覽代碼

[options] Remove duplicate short option -v for --version (#24162)

The Hatsune Daishi 5 年之前
父節點
當前提交
b76f0e58f7
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      youtube_dl/options.py

+ 1 - 1
youtube_dl/options.py

@@ -134,7 +134,7 @@ def parseOpts(overrideArguments=None):
         action='help',
         help='Print this help text and exit')
     general.add_option(
-        '-v', '--version',
+        '--version',
         action='version',
         help='Print program version and exit')
     general.add_option(