Commit 7432b327 authored by Sylvain Henry's avatar Sylvain Henry Committed by Marge Bot

Use correct option name (-opti) (fix #17314)

s/pgmo/opti
parent 4f117135
Pipeline #16698 passed with stages
in 447 minutes
...@@ -36,10 +36,6 @@ nitpick_ignore = [ ...@@ -36,10 +36,6 @@ nitpick_ignore = [
("c:type", "bool"), ("c:type", "bool"),
# See #17314
("ghc-flag", "-pgmo ⟨port⟩"),
("ghc-flag", "-pgmo ⟨option⟩"),
("extension", "DoAndIfThenElse"), ("extension", "DoAndIfThenElse"),
("extension", "RelaxedPolyRec"), ("extension", "RelaxedPolyRec"),
......
...@@ -3416,10 +3416,10 @@ providing it with a temporary folder (where it will copy the ...@@ -3416,10 +3416,10 @@ providing it with a temporary folder (where it will copy the
necessary libraries to load to) and port it will listen for necessary libraries to load to) and port it will listen for
the proxy to connect. the proxy to connect.
Providing :ghc-flag:`-pgmi /path/to/iserv-proxy <-pgmi ⟨cmd⟩>`, Providing :ghc-flag:`-pgmi ⟨/path/to/iserv-proxy⟩ <-pgmi ⟨cmd⟩>` and
:ghc-flag:`-pgmo ⟨option⟩` and :ghc-flag:`-pgmo ⟨port⟩` in addition to :ghc-flag:`-opti ⟨slave-ip⟩ -opti ⟨slave-port⟩ [-opti -v] <-opti ⟨option⟩>` in
:ghc-flag:`-fexternal-interpreter` will then make ghc go through the proxy addition to :ghc-flag:`-fexternal-interpreter` will then make ghc go through the
instead. proxy instead.
There are some limitations when using this. File and process IO There are some limitations when using this. File and process IO
will be executed on the target. As such packages like ``git-embed``, will be executed on the target. As such packages like ``git-embed``,
......
...@@ -77,9 +77,9 @@ dieWithUsage = do ...@@ -77,9 +77,9 @@ dieWithUsage = do
die $ prog ++ ": " ++ msg die $ prog ++ ": " ++ msg
where where
#if defined(WINDOWS) #if defined(WINDOWS)
msg = "usage: iserv <write-handle> <read-handle> <slave ip> [-v]" msg = "usage: iserv <write-handle> <read-handle> <slave ip> <slave port> [-v]"
#else #else
msg = "usage: iserv <write-fd> <read-fd> <slave ip> [-v]" msg = "usage: iserv <write-fd> <read-fd> <slave ip> <slave port> [-v]"
#endif #endif
main :: IO () main :: IO ()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment