From 2df2e3da401ec196742358381863431382295b94 Mon Sep 17 00:00:00 2001 From: Lei Zhu Date: Sun, 23 Jul 2023 15:47:47 +0800 Subject: [PATCH] extend unset ghc optparse example --- app/ghcup/GHCup/OptParse/UnSet.hs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/app/ghcup/GHCup/OptParse/UnSet.hs b/app/ghcup/GHCup/OptParse/UnSet.hs index a3b33b7..68a287e 100644 --- a/app/ghcup/GHCup/OptParse/UnSet.hs +++ b/app/ghcup/GHCup/OptParse/UnSet.hs @@ -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: