extend unset ghc optparse example

This commit is contained in:
Lei Zhu 2023-07-23 15:47:47 +08:00
parent e1d8ba869a
commit 2df2e3da40
1 changed files with 8 additions and 1 deletions

View File

@ -113,7 +113,14 @@ unsetParser =
unsetGHCFooter :: String
unsetGHCFooter = [s|Discussion:
Unsets the the current GHC version. That means there won't
be a ~/.ghcup/bin/ghc anymore.|]
be a ~/.ghcup/bin/ghc anymore.
Examples:
# unset ghc
ghcup unset ghc
# unset ghc for the target version
ghcup unset ghc armv7-unknown-linux-gnueabihf|]
unsetCabalFooter :: String
unsetCabalFooter = [s|Discussion: