print an error message if commandline arguments are not properly specified