Change 'weights:' to 'weight:'

The option name is :weight without the -s. Throwing an error / a warning for unknown options might also be a good idea for the future.
Merge pull request #105 from rogerbraun/patch-2

Change 'weights:' to 'weight:'