Skip to content

Commit ebaaea1

Browse files
committed
Adjust names of profiling options in error message
1 parent 345ccc9 commit ebaaea1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/Main.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -764,7 +764,7 @@ buildCmd :: BuildOpts -> GlobalOpts -> IO ()
764764
buildCmd opts go = do
765765
when (any (("-prof" `elem`) . either (const []) id . parseArgs Escaping) (boptsGhcOptions opts)) $ do
766766
hPutStrLn stderr "When building with stack, you should not use the -prof GHC option"
767-
hPutStrLn stderr "Instead, please use --enable-library-profiling and --enable-executable-profiling"
767+
hPutStrLn stderr "Instead, please use --library-profiling and --executable-profiling"
768768
hPutStrLn stderr "See: https://github.com/commercialhaskell/stack/issues/1015"
769769
error "-prof GHC option submitted"
770770
case boptsFileWatch opts of

0 commit comments

Comments
 (0)