change entry node to root

This commit is contained in:
Carlosokumu 2024-08-16 17:57:36 +03:00
parent 88731124df
commit 659e1c95a2
Signed by: carlos
GPG Key ID: 7BD6BC8160A5C953

View File

@ -232,7 +232,7 @@ func main() {
var sessionId string
flag.StringVar(&dir, "d", ".", "resource dir to read from")
flag.UintVar(&size, "s", 0, "max size of output")
flag.StringVar(&root, "root", "registration", "entry point symbol")
flag.StringVar(&root, "root", "root", "entry point symbol")
flag.StringVar(&sessionId, "session-id", "default", "session id")
flag.Parse()
fmt.Fprintf(os.Stderr, "starting session at symbol '%s' using resource dir: %s\n", root, dir)
@ -242,7 +242,7 @@ func main() {
rfs := resource.NewFsResource(scriptDir)
ca := cache.NewCache()
cfg := engine.Config{
Root: "registration",
Root: "root",
SessionId: sessionId,
}