-x for --extract-audio, one of the most popular options
authorPhilipp Hagemeister <phihag@phihag.de>
Tue, 30 Oct 2012 16:41:38 +0000 (17:41 +0100)
committerPhilipp Hagemeister <phihag@phihag.de>
Tue, 30 Oct 2012 16:41:38 +0000 (17:41 +0100)
README.md
youtube-dl.1
youtube_dl/__init__.py

index 11f4e80adfb77b8f360d0af030721f2714d63135..1a96bd98d858ef11a790b5648157c3da1cb642db 100644 (file)
--- a/README.md
+++ b/README.md
@@ -92,7 +92,7 @@ which means you can modify it, redistribute it or use it however you like.
     -n, --netrc              use .netrc authentication data
 
 ## Post-processing Options:
-    --extract-audio          convert video files to audio-only files (requires
+    -x, --extract-audio      convert video files to audio-only files (requires
                              ffmpeg or avconv and ffprobe or avprobe)
     --audio-format FORMAT    "best", "aac", "vorbis", "mp3", "m4a", or "wav";
                              best by default
index 92f9e91db0ba9d326828d8c2441585598b63fe50..d4883ad2f6c9c31db0be549e27d8c712c8a42887 100644 (file)
@@ -120,7 +120,7 @@ redistribute it or use it however you like.
 .IP
 .nf
 \f[C]
---extract-audio\ \ \ \ \ \ \ \ \ \ convert\ video\ files\ to\ audio-only\ files\ (requires
+-x,\ --extract-audio\ \ \ \ \ \ convert\ video\ files\ to\ audio-only\ files\ (requires
 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ ffmpeg\ or\ avconv\ and\ ffprobe\ or\ avprobe)
 --audio-format\ FORMAT\ \ \ \ "best",\ "aac",\ "vorbis",\ "mp3",\ "m4a",\ or\ "wav";
 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ best\ by\ default
index 5f90e2bff983a0d767ab4b8c3058838759d04eb2..3aa7bde128b8dc6b19253ae1a5c472edce649560 100644 (file)
@@ -298,7 +298,7 @@ def parseOpts():
                        help='write video metadata to a .info.json file', default=False)
 
 
-       postproc.add_option('--extract-audio', action='store_true', dest='extractaudio', default=False,
+       postproc.add_option('-x', '--extract-audio', action='store_true', dest='extractaudio', default=False,
                        help='convert video files to audio-only files (requires ffmpeg or avconv and ffprobe or avprobe)')
        postproc.add_option('--audio-format', metavar='FORMAT', dest='audioformat', default='best',
                        help='"best", "aac", "vorbis", "mp3", "m4a", or "wav"; best by default')