Command line parsing works properly now.