For example one could use the package CommandLineParser found at https://github.com/gsscoder/commandline to pretty things up.