forked from mirrors/tftp-hpa-google
Display configuration information when using the -V option...
This commit is contained in:
parent
5ec55f35e9
commit
7edb3d5b92
5 changed files with 45 additions and 14 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue