Skip to content

Commit

Permalink
Fix wording of haddock-project help and curate list of commands
Browse files Browse the repository at this point in the history
  • Loading branch information
jasagredo committed Dec 19, 2023
1 parent feaa338 commit 180269b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Cabal/src/Distribution/Simple/Setup/Haddock.hs
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ haddockProjectCommand =
"Require the programm haddock, version 2.26.\n"
, commandNotes = Nothing
, commandUsage =
usageAlternatives "haddocks" $
usageAlternatives "haddock-project" $
[ "[FLAGS]"
, "COMPONENTS [FLAGS]"
]
Expand Down
4 changes: 4 additions & 0 deletions cabal-install/src/Distribution/Client/Setup.hs
Original file line number Diff line number Diff line change
Expand Up @@ -287,8 +287,10 @@ globalCommand commands =
, "gen-bounds"
, "outdated"
, "haddock"
, "haddock-project"
, "hscolour"
, "exec"
, "path"
, "new-build"
, "new-configure"
, "new-repl"
Expand All @@ -302,6 +304,7 @@ globalCommand commands =
, "new-install"
, "new-clean"
, "new-sdist"
, "new-haddock-project"
, "list-bin"
, -- v1 commands, stateful style
"v1-build"
Expand Down Expand Up @@ -330,6 +333,7 @@ globalCommand commands =
, "v2-test"
, "v2-bench"
, "v2-haddock"
, "v2-haddock-project"
, "v2-exec"
, "v2-update"
, "v2-install"
Expand Down

0 comments on commit 180269b

Please sign in to comment.