Fix typo that prevents "--to" working...

Without this change the long form "--to" option is ignored.