Remove verbose option

Remove the command-line verbose option but let the ctrl-t c feature
print some of the verbose information (active config path/section).
This commit is contained in:
Martin Lund 2022-04-13 16:28:20 +02:00
parent 11df828f68
commit 28c880cdab
7 changed files with 13 additions and 29 deletions

View file

@ -264,8 +264,12 @@ void config_exit(void)
void config_file_print()
{
tio_printf("INI:");
tio_printf(" path: %s", c->path);
tio_printf(" searched section: %s", c->user);
tio_printf(" found section: %s", c->section_name);
if (c->path != NULL)
{
tio_printf(" Path: %s", c->path);
if (c->section_name != NULL)
{
tio_printf(" Active config section: %s", c->section_name);
}
}
}