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
|
@ -192,8 +192,8 @@ main(int argc, char *argv[])
|
|||
verbose = 1;
|
||||
break;
|
||||
case 'V':
|
||||
/* Print version to stdout and exit */
|
||||
printf("%s\n", VERSION);
|
||||
/* Print version and configuration to stdout and exit */
|
||||
printf("%s\n", TFTP_CONFIG_STR);
|
||||
exit(0);
|
||||
default:
|
||||
fprintf(stderr, "Usage: %s [-v] [host]\n", argv[0]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue