help to show selected output module name before printing help text

This commit is contained in:
Zakir Durumeric 2013-10-09 17:07:00 -04:00
parent 8fd1491680
commit b5f6a278bb

View File

@ -426,7 +426,7 @@ int main(int argc, char *argv[])
} else { } else {
printf("no help text available\n"); printf("no help text available\n");
} }
printf("\nselected output-module help\n"); printf("\nselected output-module (%s) help\n", zconf.output_module->name);
if (zconf.output_module->helptext) { if (zconf.output_module->helptext) {
printf("%s\n", zconf.output_module->helptext); printf("%s\n", zconf.output_module->helptext);
} else { } else {