diff --git a/maputil/maputil.cc b/maputil/maputil.cc index b5772955..f158cdf7 100644 --- a/maputil/maputil.cc +++ b/maputil/maputil.cc @@ -61,27 +61,27 @@ map_file_t LoadMapOrEntFile(const fs::path &source) return map; } -constexpr const char *usage = "\ -usage: maputil [operations...]\ -\ ---script \"\"\ - perform a query on entities and print out matching results.\ - see docs for more details on globals.\ - note that query has the same access as script\ - but is more suitable for small read-only operations.\ ---strip_extended_info\ - removes extended Quake II/III information on faces.\ ---convert \ - convert the current map to the given format.\ ---save \"\"\ - save the current map to the given output path.\ ---game \ - set the current game; used for certain conversions\ - or operations.\ -"; +constexpr const char *usage = R"( +usage: maputil [operations...] + +--script "" + execute the given Lua script. +valid operations: +--query "" + perform a query on entities and print out matching results. + see docs for more details on globals. + note that query has the same access as script + but is more suitable for small read-only operations. +--strip_extended_info + removes extended Quake II/III information on faces. +--convert + convert the current map to the given format. +--save "" + save the current map to the given output path. +--game + set the current game; used for certain conversions + or operations. +)"; #ifdef USE_LUA using array_iterate_callback = std::function;