Merge pull request #580 from ska80/ide-mode-socket-no-banner

Suppress banner when running with --ide-mode-socket option
This commit is contained in:
Niklas Larsson 2020-08-20 11:07:35 +02:00 committed by GitHub
commit 8a346e18f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -52,6 +52,9 @@ preOptions (ExecFn _ :: opts)
preOptions (IdeMode :: opts)
= do setSession (record { nobanner = True } !getSession)
preOptions opts
preOptions (IdeModeSocket _ :: opts)
= do setSession (record { nobanner = True } !getSession)
preOptions opts
preOptions (CheckOnly :: opts)
= do setSession (record { nobanner = True } !getSession)
preOptions opts