Can we determine these automatically?

I think there are only a few special cases where foo is not a shorthand of foo-bar.