very basic command line parsing