Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2006-08

fp2html strange option

3 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Darius Blaszijk

I have a question on the -O option in fp2html. It seems to me that this option can be in some cases misleading to say the least. The -O option is defined as "output file mask", which imho suggests that the file extension is overriden from the default .html. In practice it overrides the first part of the filename. But what would be the use if you pass multiple input files from command? It would only generate the first file and then deny overwriting it with the rest (as if that would make sense). Is someone using this option in any way? I would suggest to change it into the fileextension overriding. Does anyone object?

Darius

Reply by email

Graeme Geldenhuys
to Darius Blaszijk

Hi Darius,

What does fphtml actually do? Convert *.pas code to syntax highlighted html?

Regards,
Graeme.

Darius Blaszijk wrote 16 lines
I have a question on the -O option in fp2html. It seems to me that this option can be in some cases misleading to say the least. The -O option is defined as "output file mask", which imho suggests that the file extension is overriden from the default .html. In practice it overrides the first part of the filename. But what would be the use if you pass multiple input files from command? It would only generate the first file and then deny overwriting it with the rest (as if that would make sense). Is someone using this option in any way? I would suggest to change it into the fileextension overriding. Does anyone object? Darius _______________________________________________ fpc-devel maillist - http://lists.freepascal.org/mailman/listinfo/fpc-devel
There's no place like 127.0.0.1

Reply by email