about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@gmail.com>2011-09-06 16:19:40 +0000
committerMikael Magnusson <mikachu@gmail.com>2011-09-06 16:19:40 +0000
commitf3a6bf454d8040a88325816a7f8756ebd75aa270 (patch)
treea01f2a7fecc6de003f952ee3a7b8f917d2694993
parentecbdf148a2991860fda4b944fb24131307cf27dd (diff)
downloadzsh-f3a6bf454d8040a88325816a7f8756ebd75aa270.tar.gz
zsh-f3a6bf454d8040a88325816a7f8756ebd75aa270.tar.xz
zsh-f3a6bf454d8040a88325816a7f8756ebd75aa270.zip
29740: _wget: add --content-disposition.
-rw-r--r--ChangeLog6
-rw-r--r--Completion/Unix/Command/_wget1
2 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index c5ea6bb26..c143a57bb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,12 +2,14 @@
 
 	* 29736: Doc/Zsh/mod_zutil.yo: mention when zstyle -t returns 1.
 
-	* 29738: Completion/Unix/Command/_ssh: Add PreferredAuthentications
+	* 29738: Completion/Unix/Command/_ssh: add PreferredAuthentications
 	completion.
 
 	* 29739: Completion/Unix/Command/_rsync: redefine _rsync(), make
 	-e accept cuddled arguments.
 
+	* 29740: Completion/Unix/Command/_wget: add --content-disposition.
+
 2011-09-05  Barton E. Schaefer  <schaefer@brasslantern.com>
 
 	* users/16302: Completion/Unix/Type/_path_files: pattern matching
@@ -15375,5 +15377,5 @@
 
 *****************************************************
 * This is used by the shell to define $ZSH_PATCHLEVEL
-* $Revision: 1.5456 $
+* $Revision: 1.5457 $
 *****************************************************
diff --git a/Completion/Unix/Command/_wget b/Completion/Unix/Command/_wget
index 54c09a377..e54a08b27 100644
--- a/Completion/Unix/Command/_wget
+++ b/Completion/Unix/Command/_wget
@@ -21,6 +21,7 @@ _arguments -C -s \
   '--retry-connrefused[retry even if connection is refused]' \
   '(--output-document -O)'{--output-document=,-O+}'[specify file to write documents to]:output file:_files' \
   '(--continue -c)'{--continue,-c}'[continue getting an existing file]'  \
+  '--content-disposition[honor the Content-Disposition header when choosing local file names]'  \
   '--progress=[set progress gauge type]:gauge type:->gauge' \
   '(--timestamping -N)'{--timestamping,-N}'[retrieve only files newer than existing]' \
   '(--server-response -S)'{--server-response,-S}'[print server response]' \