Fix handling of -v commandline switch