W3C home > Mailing lists > Public > www-validator@w3.org > April 2017

Re: New message-filtering options for the HTML checker

From: Michael[tm] Smith <mike@w3.org>
Date: Mon, 17 Apr 2017 21:15:57 +0900
To: Fuqiao Xue <xfq.free@gmail.com>
Cc: www-validator@w3.org
Message-ID: <20170417121557.lev66z6t2n7swox6@sideshowbarker.net>
Hi Fuqiao,

Fuqiao Xue <xfq.free@gmail.com>, 2017-04-17 20:01 +0800:

> I have a question about the command-line options. Why do both
> `--filterfile` (for vnu.jar) and `--filter-file` (for build.{py,sh})
> exist? Is it intentional?

Yeah, intentional. They are for completely different contexts—the `--filterfile`
option is for the command-line checker, people who are batch-checking files
locally from the command line, and the `--filter-file` option is for people who
want to run their own instance of the Web-based checker, potentially for other
people to use.

So it’s not important for the option names to have identical syntax. In fact,
the main reason `--filter-file` has an internal dash is just for consistency
with the syntax of the other existing options for the build script,

  —Mike

-- 
Michael[tm] Smith https://people.w3.org/mike

Received on Monday, 17 April 2017 12:16:26 UTC

This archive was generated by hypermail 2.3.1 : Monday, 17 April 2017 12:16:29 UTC