diff --git a/core/Command/Preview/Generate.php b/core/Command/Preview/Generate.php
index 86301834fbe..8e9aa8b09ea 100644
--- a/core/Command/Preview/Generate.php
+++ b/core/Command/Preview/Generate.php
@@ -78,7 +78,7 @@ class Generate extends Command {
return self::FAILURE;
}
if (!$node instanceof File) {
- $output->writeln("specified file ($fileInput) is not a file (did you specify a folder by accident?)");
+ $output->writeln("File ($fileInput) is not a file (did you specify a folder by accident?)");
return self::INVALID;
}
// No point in continuing if there isn't a configured preview provider for the file