diff --git a/src/utils/messages.ts b/src/utils/messages.ts index 0c2d49c28e..f7d126057c 100644 --- a/src/utils/messages.ts +++ b/src/utils/messages.ts @@ -22,7 +22,7 @@ export async function helpMessage(): Promise { --name {underline my-payload-app} Set project name --template {underline template_name} Choose specific template - {dim Available templates: ${validTemplates.join(', ')}} + {dim Available templates: ${validTemplates.map(t => t.name).join(', ')}} --use-npm Use npm to install dependencies --no-deps Do not install any dependencies