CLI: Wrong BNF and/or error when omitting fmt in output
Multi-language source code documentation tool
Brought to you by:
gregvalure
Normally, parameters given in square brackets are optional.
Placeholer/variables are given in angle brackets.
the correct definition of the output CLI parameter would be
-o html | framedhtml <path></path>
Changing it altogether, by swapping the order (or introducing a -fmt parameter) and giving e.g. "html" as default, one could do
NaturalDocs -i . -o /outdir -p /projdir
in the project directory and not being shouted at
The -o option needs two parameters: -o [format] [directory]
You did not specify an output directory.
Type NaturalDocs -h to see the syntax reference.
To sum up: Nice prog, but improve CLI handling in general. GetOpt can do better. :-)
It could use some PBP also.