Use cmdargs for command line parsing.