Commit 7b7e0242 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 13f64672
...@@ -100,8 +100,8 @@ func StartTreeGen(zurl string) (_ *TreeGen, err error) { ...@@ -100,8 +100,8 @@ func StartTreeGen(zurl string) (_ *TreeGen, err error) {
start = strings.TrimSuffix(start, "\n") start = strings.TrimSuffix(start, "\n")
defer xerr.Contextf(&err, "invalid start %q", start) defer xerr.Contextf(&err, "invalid start %q", start)
// start @<at> tree=<root> // tree.srv start @<at> tree=<root>
startRe := regexp.MustCompile(`^start @([^ ]+) root=([^ ]+)$`) startRe := regexp.MustCompile(`^tree.srv start @([^ ]+) root=([^ ]+)$`)
m := startRe.FindStringSubmatch(start) m := startRe.FindStringSubmatch(start)
if m == nil { if m == nil {
return nil, fmt.Errorf("unexpected format") return nil, fmt.Errorf("unexpected format")
......
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