mirror of
https://github.com/mirror/wget.git
synced 2024-12-30 23:10:13 +08:00
21e1725e12
* 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> |
||
---|---|---|
.. | ||
fdl.texi | ||
Makefile.am | ||
sample.wgetrc | ||
texi2pod.pl | ||
wget.texi |