about summary refs log tree commit diff stats
path: root/src/main.nim
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.nim')
-rw-r--r--src/main.nim6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.nim b/src/main.nim
index 51b1219f..f730de5e 100644
--- a/src/main.nim
+++ b/src/main.nim
@@ -201,15 +201,15 @@ Options:
         if www != "": pages.add(www)
 
   if pages.len == 0 and not config.start.headless:
-    if stdin.isatty:
+    if stdin.isatty():
       help(1)
 
   forks.loadForkServerConfig(config)
   SocketDirectory = config.external.tmpdir
 
-  let c = newClient(config, forks, jsctx)
+  let c = newClient(config, forks, jsctx, warnings)
   try:
-    c.launchClient(pages, ctype, cs, dump, warnings)
+    c.launchClient(pages, ctype, cs, dump)
   except CatchableError:
     c.flushConsole()
     raise