diff options
author | Ludovic Courtès <ludo@gnu.org> | 2016-10-29 01:16:24 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2016-11-16 18:00:41 +0100 |
commit | 1bcc87bb685b7985512add221f10e4cb58b5f6f7 (patch) | |
tree | e59490c57f7017858e86cd77c9110fa6bc7551d4 /doc/guix.texi | |
parent | eb4b3e4bef412647e1c2756123b8a687996a04e1 (diff) | |
download | guix-1bcc87bb685b7985512add221f10e4cb58b5f6f7.tar.gz |
guix download: Add '-o' option.
* guix/scripts/download.scm (download-to-file, download-to-store*): New procedures. (%default-options): Add 'download-proc'. (show-help): Adjust description and document '-o'. (%options): Add '-o'. (guix-download): Remove 'store' variable. Add 'fetch' and define 'path' to as its result. * tests/guix-download.sh: Add test.
Diffstat (limited to 'doc/guix.texi')
-rw-r--r-- | doc/guix.texi | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi index a3eba5811e..1a809c340d 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -4836,6 +4836,10 @@ When using this option, you have @emph{absolutely no guarantee} that you are communicating with the authentic server responsible for the given URL, which makes you vulnerable to ``man-in-the-middle'' attacks. +@item --output=@var{file} +@itemx -o @var{file} +Save the downloaded file to @var{file} instead of adding it to the +store. @end table @node Invoking guix hash |