diff --git a/src/writer.rs b/src/writer.rs index a37cad6..9b389cb 100644 --- a/src/writer.rs +++ b/src/writer.rs @@ -1125,7 +1125,11 @@ impl Writer { writeln!(self.wtr, "//")?; writeln!(self.wtr, "// {}", argv.join(" "))?; writeln!(self.wtr, "//")?; - writeln!(self.wtr, "// ucd-generate is available on crates.io.")?; + writeln!( + self.wtr, + "// ucd-generate {} is available on crates.io.", + env!("CARGO_PKG_VERSION") + )?; self.wrote_header = true; Ok(()) }