make --url mandatory

and move flags around closer to standard go usage