On 2006-07-10 15:07:14 +0200, Emil Nowak wrote:
> I;m not sure if there is some standard about command line options,
> but almost every program has "--" for long options. I think that it
> is very important for all the programs behave in the same way.

tidy (at least the current 5.8.0) has two kinds of long options,
according to its man page:

  Tidy supports two different kinds of options.  Purely command-line
  options, starting with a single dash '-', can only be used on the
  command-line, not in configuration files.  They are listed in the first
  part of this section.  Configuration options, on the other hand, can
  either be passed on the command line, starting with two dashes --, or
  specified in a configuration file, using the option name, followed by a
  colon :, plus the value, without the starting dashes. They are listed in
  the second part of this section, with a sample config file.

Note that the first kind also includes long options.

Making all long options start with two dashes could introduce
confusion.

So even though 5.8.0 is still concerned, this bug should remained
closed as wontfix.

Note: Other commands may have two kinds of options, where all
long options start with 2 dashes, but the syntax is different.
For instance, they use something like "-o other_kind=..." for
the other kind ("configuration options"). If such a change is
decided, upstream should do it first.

-- 
Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Pascaline project (LIP, ENS-Lyon)

Reply via email to