Improve help messages

This commit is contained in:
Julian Ospald 2018-09-30 01:46:21 +08:00
parent 5a2e31e7f6
commit 57778ac9a8
No known key found for this signature in database
GPG Key ID: 511B62C09D50CD28

15
ghcup
View File

@ -57,6 +57,11 @@ SUBCOMMANDS:
show Show current/installed GHC show Show current/installed GHC
set Set currently active GHC version set Set currently active GHC version
self-update Update this script in-place self-update Update this script in-place
DISCUSSION:
ghcup installs the Glasgow Haskell Compiler from the official
release channels, enabling you to easily switch between different
versions.
") ")
exit 1 exit 1
} }
@ -74,6 +79,11 @@ FLAGS:
ARGS: ARGS:
<VERSION> E.g. \"8.4.3\" or \"8.6.1\" <VERSION> E.g. \"8.4.3\" or \"8.6.1\"
DISCUSSION:
Installs the specified GHC version into
a self-contained \"~/.ghcup/ghc/<ghcver>\" directory
and symlinks the ghc binaries to \"~/.ghcup/bin/<binary>-<ghcver>\".
") ")
exit 1 exit 1
} }
@ -90,6 +100,11 @@ FLAGS:
ARGS: ARGS:
<VERSION> E.g. \"8.4.3\" or \"8.6.1\" <VERSION> E.g. \"8.4.3\" or \"8.6.1\"
DISCUSSION:
Sets the the current GHC version by creating non-versioned
symlinks for all ghc binaries of the specified version in
\"~/.ghcup/bin/<binary>\".
") ")
exit 1 exit 1
} }