(#23373) Restore 'all' functionality

The "puppet config print" command used to take a special "all"
parameter, but it was lost at some point during the refactoring of the
implementation. This restores the ability to print "all" settings.