On quinta-feira, 15 de março de 2012 14.24.25, Laszlo Papp wrote: > > I only checked the tests file, but it seems like you're going for the GNU > > style where options following '-' are always one character letters.The Qt > > tools itself do not follow this style, e.g. qmake -project, not qmake > > --project, or qmake -p :) To use the parser also internally , it should > > IMO also support a style where '-help' is one valid argument. > That was my worry previously as well. Would it be possible to refactor > -foobar to --foobar for Qt5 (not using single dash for long options) ? > Otherwise, as far as I see, we lose the short options which is > something that the users would like to see. > > We are beyond the feature freeze, thus it probably needs special > acceptance in case yes. If it does not happen, I am unsure whether it > can be done before Qt6 that way.
Refactoring the tools now is a complete no-go. You want to: - change how the tools accept parameters - in tools that don't have good command-line parsing infrastructure - 4 weeks after feature-freeze -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center Intel Sweden AB - Registration Number: 556189-6027 Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development