[m-users.] mmc command line option validation for '-d'

Matthias Guedemann matthias at guedemann.org
Wed Apr 22 16:37:55 AEST 2015


Hi,

there is a small problem, when specifying an invalid option for mmc,
e.g., 

,----
| mmc --make -deep-profiling program
`----

works without error, but produces a program without profiling.

The problem seems to be that this is considered to be the option '-d',
with some parameter. In my opinion, it would be better to emit a
warning, if the parameter given to '-d' does not make sense.

There may be similar cases for other options.

Best regards,
Matthias



More information about the users mailing list