diff --git a/examples/http-server/main.c b/examples/http-server/main.c index 7c1d7d27..f775d5ee 100644 --- a/examples/http-server/main.c +++ b/examples/http-server/main.c @@ -34,8 +34,8 @@ static void usage(const char *prog) { " -d DIR - directory to serve, default: '%s'\n" " -l ADDR - listening address, default: '%s'\n" " -v LEVEL - debug level, from 0 to 4, default: '%s'\n", - MG_VERSION, prog, s_debug_level, s_enable_hexdump, s_root_dir, - s_listening_address); + MG_VERSION, prog, s_enable_hexdump, s_root_dir, s_listening_address, + s_debug_level); exit(EXIT_FAILURE); }