diff options
author | Jan Stolarek <jan.stolarek@p.lodz.pl> | 2014-07-03 08:16:28 +0200 |
---|---|---|
committer | Jan Stolarek <jan.stolarek@p.lodz.pl> | 2014-07-03 08:16:28 +0200 |
commit | 311c55d132a65e657771e5f58b12a205e0a4af99 (patch) | |
tree | 92d26f38fb1c342b9b6b3670d4bb31f8e8ad30a7 | |
parent | 4c91bc6d76662cec3be045e99eae68093148b2b8 (diff) | |
download | haskell-311c55d132a65e657771e5f58b12a205e0a4af99.tar.gz |
Update documentation
* fix links to the User's Guide in ghc and ghci --help messages
* fix default stack size info in RTS help message
-rw-r--r-- | driver/ghc-usage.txt | 2 | ||||
-rw-r--r-- | driver/ghci-usage.txt | 2 | ||||
-rw-r--r-- | rts/RtsFlags.c | 3 |
3 files changed, 4 insertions, 3 deletions
diff --git a/driver/ghc-usage.txt b/driver/ghc-usage.txt index 9de4090bc4..0b56db7419 100644 --- a/driver/ghc-usage.txt +++ b/driver/ghc-usage.txt @@ -73,7 +73,7 @@ Given the above, here are some TYPICAL invocations of $$: The User's Guide has more information about GHC's *many* options. An online copy can be found here: - http://haskell.org/haskellwiki/GHC + http://www.haskell.org/ghc/docs/latest/html/users_guide/ If you *really* want to see every option, then you can pass '--show-options' to the compiler. diff --git a/driver/ghci-usage.txt b/driver/ghci-usage.txt index d9628b2c41..1a848fc9b5 100644 --- a/driver/ghci-usage.txt +++ b/driver/ghci-usage.txt @@ -21,4 +21,4 @@ GHC does. Some of the options that are commonly used are: Full details can be found in the User's Guide, an online copy of which can be found here: - http://haskell.org/haskellwiki/GHC + http://www.haskell.org/ghc/docs/latest/html/users_guide/ diff --git a/rts/RtsFlags.c b/rts/RtsFlags.c index af1b2049f6..44c05cec3b 100644 --- a/rts/RtsFlags.c +++ b/rts/RtsFlags.c @@ -241,7 +241,8 @@ usage_text[] = { " -? Prints this message and exits; the program is not executed", " --info Print information about the RTS used by this program", "", -" -K<size> Sets the maximum stack size (default 8M) Egs: -K32k -K512k", +" -K<size> Sets the maximum stack size (default: 80% of the heap)", +" Egs: -K32k -K512k -K8M", " -ki<size> Sets the initial thread stack size (default 1k) Egs: -ki4k -ki2m", " -kc<size> Sets the stack chunk size (default 32k)", " -kb<size> Sets the stack chunk buffer size (default 1k)", |