forked from urdt/ussd
change entry node to root
This commit is contained in:
parent
88731124df
commit
659e1c95a2
@ -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,
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user