At last ... no more getOpt ... while i was coding my CLA pet project for command line parsing, my colleague George Gousios pointed out Jakarta common project named CLI.

It works, its perfect and already integrated in my projects :). My work on the CLA is stopped and considered abandonware :-p.