Allow option value as last part of flag expansion.

Closes #1.