Check command line arguments and print usage