| 745 | } |
| 746 | |
| 747 | void Server::defineOptions(Poco::Util::OptionSet & options) |
| 748 | { |
| 749 | options.addOption( |
| 750 | Poco::Util::Option("help", "h", "show help and exit") |
| 751 | .required(false) |
| 752 | .repeatable(false) |
| 753 | .binding("help")); |
| 754 | options.addOption( |
| 755 | Poco::Util::Option("version", "V", "show version and exit") |
| 756 | .required(false) |
| 757 | .repeatable(false) |
| 758 | .binding("version")); |
| 759 | BaseDaemon::defineOptions(options); |
| 760 | } |
| 761 | |
| 762 | |
| 763 | [[maybe_unused]] static void checkForUsersNotInMainConfig( |
nothing calls this directly
no test coverage detected