Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/pr/864'
Browse files Browse the repository at this point in the history
  • Loading branch information
hasufell committed Sep 2, 2023
2 parents 7e7c11f + 9189f9a commit 9c34780
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 5 deletions.
2 changes: 1 addition & 1 deletion app/ghcup/GHCup/OptParse/ChangeLog.hs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ changelogP =
e -> Left e
)
)
(short 't' <> long "tool" <> metavar "<ghc|cabal|hls|ghcup>" <> help
(short 't' <> long "tool" <> metavar "<ghc|cabal|hls|ghcup|stack>" <> help
"Open changelog for given tool (default: ghc)"
<> completer toolCompleter
)
Expand Down
4 changes: 2 additions & 2 deletions app/ghcup/GHCup/OptParse/Compile.hs
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ ghcCompileOpts =
( short 'i'
<> long "isolate"
<> metavar "DIR"
<> help "install in an isolated directory instead of the default one, no symlinks to this installation will be made"
<> help "install in an isolated absolute directory instead of the default one, no symlinks to this installation will be made"
<> completer (bashCompleter "directory")
)
)
Expand Down Expand Up @@ -367,7 +367,7 @@ hlsCompileOpts =
( short 'i'
<> long "isolate"
<> metavar "DIR"
<> help "install in an isolated directory instead of the default one, no symlinks to this installation will be made"
<> help "install in an isolated absolute directory instead of the default one, no symlinks to this installation will be made"
<> completer (bashCompleter "directory")
)
)
Expand Down
2 changes: 1 addition & 1 deletion app/ghcup/GHCup/OptParse/Install.hs
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ installOpts tool =
( short 'i'
<> long "isolate"
<> metavar "DIR"
<> help "install in an isolated dir instead of the default one"
<> help "install in an isolated absolute directory instead of the default one"
<> completer (bashCompleter "directory")
)
)
Expand Down
9 changes: 8 additions & 1 deletion app/ghcup/GHCup/OptParse/UnSet.hs
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,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:
Expand Down

0 comments on commit 9c34780

Please sign in to comment.