0e394e896d75762e55e7be577c46e554d1164aab kuhn Tue Apr 9 12:57:46 2013 -0700 changed usage to mention that question marks do not resolve unless url is in quotes diff --git src/utils/htmlCheck/htmlCheck.c src/utils/htmlCheck/htmlCheck.c index e177e9f..5eecc2b 100644 --- src/utils/htmlCheck/htmlCheck.c +++ src/utils/htmlCheck/htmlCheck.c @@ -29,31 +29,31 @@ " getForms - print the form structure to stdout\n" " getVars - print the form variables to stdout\n" " getLinks - print links\n" " getTags - print out just the tags\n" " checkLinks - check links in page\n" " checkLinks2 - check links in page and all subpages in same host\n" " (Just one level of recursion)\n" " checkLocalLinks - check local links in page\n" " checkLocalLinks2 - check local links in page and connected local pages\n" " (Just one level of recursion)\n" " submit - submit first form in page if any using 'GET' method\n" " validate - do some basic validations including TABLE/TR/TD nesting\n" "options:\n" " cookies=cookie.txt - Cookies is a two column file\n" " containing \n" - "note: url will need to be in quotes if it contains an ampersand." + "note: url will need to be in quotes if it contains an ampersand or question mark." ); } static struct optionSpec options[] = { {"cookies", OPTION_STRING}, {NULL, 0}, }; void checkOk(char *fullText) /* Parse out first line and check it's ok. */ { struct htmlStatus *status = htmlStatusParse(&fullText); if (status == NULL) noWarnAbort(); if (status->status != 200)