Fixed license option and command line parsing