Print comment with each option.

This commit is contained in:
Dave Davenport 2015-10-21 09:20:07 +02:00
parent 0d7ab111f9
commit bc7a89c646

View file

@ -336,6 +336,7 @@ void config_xresource_free ( void )
static void xresource_dump_entry ( const char *namePrefix, XrmOption *option )
{
printf ( "! %s\n", option->comment );
printf ( "%s.%s: %*s", namePrefix, option->name,
(int) ( 30 - strlen ( option->name ) ), "" );
switch ( option->type )