Browse Source

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

The Hatsune Daishi 5 năm trước cách đây
mục cha
commit
b76f0e58f7
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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(