misc: check if -o option actually gets an name

also if there is more than 1 url, the program will not start.