diff --git a/docs/Complete_list_of_command_line_parameters.htm b/docs/Complete_list_of_command_line_parameters.htm
index 29dbdf95..b6599809 100644
--- a/docs/Complete_list_of_command_line_parameters.htm
+++ b/docs/Complete_list_of_command_line_parameters.htm
@@ -423,6 +423,8 @@ td.formatted_questions ol { margin-top: 0px; margin-bottom: 0px; }
-json ... filename.bsp: Export/import BSP to/from json text files for debugging and editing purposes
-unpack: Unpack BSP to json
-pack: Pack json to BSP
+ -useflagnames: While packing, deduce surface/content flag values from their names in shaders.json (useful for conversion to a game with different flag values)
+ -skipflags: While -useflagnames, skip unknown flag names
diff --git a/tools/quake3/q3map2/convert_json.cpp b/tools/quake3/q3map2/convert_json.cpp
index ef52a02d..2e832e1b 100644
--- a/tools/quake3/q3map2/convert_json.cpp
+++ b/tools/quake3/q3map2/convert_json.cpp
@@ -35,6 +35,8 @@
#include "rapidjson/document.h"
#include "rapidjson/prettywriter.h"
+#include