X-Git-Url: http://sjero.net/git/?a=blobdiff_plain;f=src%2Fmain.c;h=35c5f3b63db8e16e7c1fad224e81d090aee38991;hb=7c802e58d3e45e3a21d99c8d24dc5be806ecf174;hp=77e1bf30a6fdeca8da98d31fa422f5477c736414;hpb=0a3697ad652df74ffeec8a97e1d23c343d8ef391;p=wget diff --git a/src/main.c b/src/main.c index 77e1bf30..35c5f3b6 100644 --- a/src/main.c +++ b/src/main.c @@ -179,7 +179,7 @@ Download:\n\ --bind-address=ADDRESS bind to ADDRESS (hostname or IP) on local host.\n\ --limit-rate=RATE limit download rate to RATE.\n\ --dns-cache=off disable caching DNS lookups.\n\ - --restrict-file-names=MODE restrict chars in file names to MODE.\n\ + --restrict-file-names=OS restrict chars in file names to ones OS allows.\n\ \n"), stdout); fputs (_("\ Directories:\n\ @@ -239,6 +239,7 @@ Recursive retrieval:\n\ -K, --backup-converted before converting file X, back up as X.orig.\n\ -m, --mirror shortcut option equivalent to -r -N -l inf -nr.\n\ -p, --page-requisites get all images, etc. needed to display HTML page.\n\ + --strict-comments turn on strict (SGML) handling of HTML comments.\n\ \n"), stdout); fputs (_("\ Recursive accept/reject:\n\ @@ -302,6 +303,7 @@ main (int argc, char *const *argv) { "server-response", no_argument, NULL, 'S' }, { "span-hosts", no_argument, NULL, 'H' }, { "spider", no_argument, NULL, 132 }, + { "strict-comments", no_argument, NULL, 177 }, { "timestamping", no_argument, NULL, 'N' }, { "verbose", no_argument, NULL, 'v' }, { "version", no_argument, NULL, 'V' }, @@ -524,6 +526,9 @@ GNU General Public License for more details.\n")); case 174: setval ("retryconnrefused", "on"); break; + case 177: + setval ("strictcomments", "on"); + break; /* Options accepting an argument: */ case 129: