Make opts parsing more flexible: allow new lines and multiple whitespace...

...s