summaryrefslogtreecommitdiff
path: root/src/tint.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/tint.go')
-rw-r--r--src/tint.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tint.go b/src/tint.go
index b17d8b0..b2566b5 100644
--- a/src/tint.go
+++ b/src/tint.go
@@ -23,9 +23,11 @@ import "flag"
func main() {
inputFile := flag.String("in", "", "The file to execute")
progFlags := flag.String("flags", "", "Flags for the executing program")
+ quietFlag := flag.Bool("quiet", false, "Quiet the interpreter when importing files")
flag.Parse()
+ texec.Quiet = *quietFlag
root := texec.BuildRoot(*inputFile)
fmt.Printf("Program end. Returned %v.\n", texec.EvalTNSL(&root, *progFlags))