I have worked it out. I discovered it when working with Nginx and by entering
will output all configuration options for the installed version of Nginx. I was hoping there was a standard way to do that for all packages.
If there is a way I would love to hear it.