fix case in cmdline parsing