Skip to content

Commit

Permalink
Make --global-stack-root less visible in stack path --help
Browse files Browse the repository at this point in the history
  • Loading branch information
sjakobi committed Apr 6, 2016
1 parent edaae29 commit 7074afb
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/main/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -608,10 +608,7 @@ data PathInfo = PathInfo
-- removed, see #506
paths :: [(String, Text, PathInfo -> Text)]
paths =
[ ( "DEPRECATED: Use '--" <> stackRootOptionName <> "' instead"
, T.pack deprecatedStackRootOptionName
, T.pack . toFilePathNoTrailingSep . configStackRoot . bcConfig . piBuildConfig )
, ( "Global stack root directory"
[ ( "Global stack root directory"
, T.pack stackRootOptionName
, T.pack . toFilePathNoTrailingSep . configStackRoot . bcConfig . piBuildConfig )
, ( "Project root (derived from stack.yaml file)"
Expand Down Expand Up @@ -664,7 +661,11 @@ paths =
, T.pack . toFilePathNoTrailingSep . piDistDir )
, ( "Where HPC reports and tix files are stored"
, "local-hpc-root"
, T.pack . toFilePathNoTrailingSep . piHpcDir ) ]
, T.pack . toFilePathNoTrailingSep . piHpcDir )
, ( "DEPRECATED: Use '--" <> stackRootOptionName <> "' instead"
, T.pack deprecatedStackRootOptionName
, T.pack . toFilePathNoTrailingSep . configStackRoot . bcConfig . piBuildConfig )
]

data SetupCmdOpts = SetupCmdOpts
{ scoCompilerVersion :: !(Maybe CompilerVersion)
Expand Down

0 comments on commit 7074afb

Please sign in to comment.