diff options
Diffstat (limited to 'ot_config.c')
| -rw-r--r-- | ot_config.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ot_config.c b/ot_config.c index 272acf1..5da6642 100644 --- a/ot_config.c +++ b/ot_config.c | |||
| @@ -432,6 +432,7 @@ static void help(char *name) { | |||
| 432 | HELPLINE("-d dir", "specify directory to try to chroot to (default: \".\")"); | 432 | HELPLINE("-d dir", "specify directory to try to chroot to (default: \".\")"); |
| 433 | HELPLINE("-u user", "specify user under whose privileges opentracker should run (default: \"nobody\")"); | 433 | HELPLINE("-u user", "specify user under whose privileges opentracker should run (default: \"nobody\")"); |
| 434 | HELPLINE("-A ip[/bits]", "bless an ip address or net as admin address (e.g. to allow syncs from this address)"); | 434 | HELPLINE("-A ip[/bits]", "bless an ip address or net as admin address (e.g. to allow syncs from this address)"); |
| 435 | HELPLINE("-v", "report version, event mechanism and the feature flags opentracker was built with"); | ||
| 435 | #ifdef WANT_ACCESSLIST_BLACK | 436 | #ifdef WANT_ACCESSLIST_BLACK |
| 436 | HELPLINE("-b file", "specify blacklist file."); | 437 | HELPLINE("-b file", "specify blacklist file."); |
| 437 | #elif defined(WANT_ACCESSLIST_WHITE) | 438 | #elif defined(WANT_ACCESSLIST_WHITE) |
| @@ -566,6 +567,7 @@ void config_parse(int argc, char **argv) { | |||
| 566 | char *cursor = buffer; | 567 | char *cursor = buffer; |
| 567 | 568 | ||
| 568 | stats_return_tracker_version(&cursor, buffer + sizeof(buffer) - 1); | 569 | stats_return_tracker_version(&cursor, buffer + sizeof(buffer) - 1); |
| 570 | stats_return_tracker_features(&cursor, buffer + sizeof(buffer) - 1); | ||
| 569 | *cursor = 0; | 571 | *cursor = 0; |
| 570 | fputs(buffer, stderr); | 572 | fputs(buffer, stderr); |
| 571 | exit(0); | 573 | exit(0); |
