nghttpx: Print version number with -v option

This commit is contained in:
Tatsuhiro Tsujikawa 2017-03-27 22:49:53 +09:00
parent 61dc1a7c62
commit dbe287ff5e
1 changed files with 1 additions and 1 deletions

View File

@ -1596,7 +1596,7 @@ void fill_default_config(Config *config) {
namespace { namespace {
void print_version(std::ostream &out) { void print_version(std::ostream &out) {
out << get_config()->http.server_name.c_str() << std::endl; out << "nghttpx nghttp2/" NGHTTP2_VERSION << std::endl;
} }
} // namespace } // namespace