diff --git a/doc/src/sgml/ref/createdb.sgml b/doc/src/sgml/ref/createdb.sgml
index c363bd4..bd1de1f2f 100644
--- a/doc/src/sgml/ref/createdb.sgml
+++ b/doc/src/sgml/ref/createdb.sgml
@@ -366,8 +366,8 @@ PostgreSQL documentation
LATIN1 encoding scheme with a look at the
underlying command:
-$ createdb -p 5000 -h eden -E LATIN1 -e demo
-CREATE DATABASE demo ENCODING 'LATIN1';
+$ createdb -p 5000 -h eden -E LATIN1 -T template0 -e demo
+CREATE DATABASE demo ENCODING 'LATIN1' TEMPLATE template0;