summaryrefslogtreecommitdiff
path: root/cmd/rescribe/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/rescribe/main.go')
-rw-r--r--cmd/rescribe/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/rescribe/main.go b/cmd/rescribe/main.go
index 251c333..bbb2c54 100644
--- a/cmd/rescribe/main.go
+++ b/cmd/rescribe/main.go
@@ -220,7 +220,7 @@ These training files are included in rescribe, and are always available:
f, err := os.Open(trainingPath)
if err != nil {
- fmt.Fprintf(os.Stderr, "Error: Training file %s could not be opened.\n", trainingPath)
+ fmt.Fprintf(os.Stderr, "Error: Training files %s or %s could not be opened.\n", *training, trainingPath)
fmt.Fprintf(os.Stderr, "Set the `-t` flag with path to a tesseract .traineddata file.\n")
os.Exit(1)
}