Better command line arguments parsing.