Display configuration information when using the -V option...

This commit is contained in:
hpa 2001-11-14 04:16:23 +00:00
parent 5ec55f35e9
commit 7edb3d5b92
5 changed files with 45 additions and 14 deletions

View file

@ -259,8 +259,8 @@ main(int argc, char **argv)
verbosity++;
break;
case 'V':
/* Print version to stdout and exit */
printf("%s\n", VERSION);
/* Print configuration to stdout and exit */
printf("%s\n", TFTPD_CONFIG_STR);
exit(0);
break;
default: