From bfbc4ebf4045b834ed080e7b6f0ebe2c789fb5f1 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Sat, 2 Sep 2006 15:30:26 +0000 Subject: - patch from Csaba Henk to make the "User-Agent" header field configurable. --- include/usage.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/usage.h b/include/usage.h index 0f95708..3e3e8c8 100644 --- a/include/usage.h +++ b/include/usage.h @@ -3396,7 +3396,8 @@ USE_FEATURE_START_STOP_DAEMON_FANCY( \ #define wget_trivial_usage \ "[-c|--continue] [-q|--quiet] [-O|--output-document file]\n" \ - "\t\t[--header 'header: value'] [-Y|--proxy on/off] [-P DIR] url" + "\t\t[--header 'header: value'] [-Y|--proxy on/off] [-P DIR]\n" \ + "\t\t[-U|--user-agent agent] url" #define wget_full_usage \ "wget retrieves files via HTTP or FTP\n\n" \ "Options:\n" \ @@ -3404,6 +3405,7 @@ USE_FEATURE_START_STOP_DAEMON_FANCY( \ "\t-q\tquiet mode - do not print\n" \ "\t-P\tSet directory prefix to DIR\n" \ "\t-O\tsave to filename ('-' for stdout)\n" \ + "\t-U\tadjust 'User-Agent' field\n" \ "\t-Y\tuse proxy ('on' or 'off')" #define which_trivial_usage \ -- cgit v1.1