Commit 1e7ec339 authored by Radim Marek's avatar Radim Marek

Import allows only one expression

parent eb48885d
......@@ -187,7 +187,7 @@ func (p *parser) doImport() error {
}
importPattern := p.Val()
if p.NextArg() {
return p.Err("Import allows only one file to import")
return p.Err("Import allows only one expression, either file or glob pattern")
}
matches, err := filepath.Glob(importPattern)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment