Fixed --environment option (should take one argument)