aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md2
-rw-r--r--youtube-dl.12
-rw-r--r--youtube_dl/__init__.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/README.md b/README.md
index 11f4e80ad..1a96bd98d 100644
--- 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
diff --git a/youtube-dl.1 b/youtube-dl.1
index 92f9e91db..d4883ad2f 100644
--- a/youtube-dl.1
+++ b/youtube-dl.1
@@ -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
diff --git a/youtube_dl/__init__.py b/youtube_dl/__init__.py
index 5f90e2bff..3aa7bde12 100644
--- a/youtube_dl/__init__.py
+++ b/youtube_dl/__init__.py
@@ -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')