diff --git a/include/fmt/os.h b/include/fmt/os.h index 1c1eb659..d7ba5f4c 100644 --- a/include/fmt/os.h +++ b/include/fmt/os.h @@ -460,7 +460,7 @@ class FMT_API ostream final : private detail::buffer { * ````: Flags passed to `open `_ - (``file::WRONLY | file::CREATE`` by default) + (``file::WRONLY | file::CREATE | file::TRUNC`` by default) * ``buffer_size=``: Output buffer size **Example**::