wget/doc
Liam R. Howlett 21e1725e12 Add --use-askpass=COMMAND support
* doc/wget.texi: Add --use-askpass to documentation.
* src/init.c: Add cmd_use_askpasss to set opt.use_askpass based on
argument, WGET_ASKPASS, and SSH_ASKPASS environment variables.
opt.wget-askpass is freed in cleanup ()
* src/main.c: Update options & add spawn process of opt.use_askpass
command.
* src/options.h: Addition of string use_askpass.
* src/url.c: Function scheme_leading_string to access the leading
string of a parsed url.
* src/url.h: Prototype for scheme_leading_string for returning the
leading string.
* bootstrap.conf: Add posix_spawn to gnulib_modules

This adds the --use-askpass option which is disabled by default.

--use-askpass=COMMAND will request the username and password for a given
URL by executing the external program COMMAND.  If COMMAND is left
blank, then the external program in the environment variable
WGET_ASKPASS will be used.  If WGET_ASKPASS is not set then the
environment variable SSH_ASKPASS is used.  If there is no value set, an
error is returned.  If an error occurs requesting the username or
password, wget will exit.

Signed-off-by: Liam R. Howlett <Liam.Howlett@WindRiver.com>
2016-09-03 21:01:24 +02:00
..
fdl.texi maint: update copyright year ranges to include 2015 2015-03-09 16:32:01 +01:00
Makefile.am Fix creating docs when make uses 'sh -e' 2016-06-30 15:19:26 +02:00
sample.wgetrc sample.wgetrc: Fix wrong command 'locale' into 'localencoding' 2014-12-19 17:05:33 +01:00
texi2pod.pl Convert wget.texi to UTF-8 2015-03-17 09:52:23 +01:00
wget.texi Add --use-askpass=COMMAND support 2016-09-03 21:01:24 +02:00