-
Notifications
You must be signed in to change notification settings - Fork 700
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reorder cabal help
commands
#8433
Conversation
I noticed that the extra space around v1-clean/v1-install appeared somewhere between cabal-install 3.4 and 3.6. At least, this is not a fault of this PR and I think it can be merged as is. |
More precisely, 3.4 introduced an extra space after |
Okay, here's the deal with the spaces. Compare the output: ...
v1-haddock Generate Haddock HTML documentation.
v1-install Install packages.
v1-clean Clean up after a build.
v1-copy Copy the files of all/specific components to install locations.
... and the corresponding code: cabal/cabal-install/src/Distribution/Client/Setup.hs Lines 300 to 307 in f736940
Copy and haddock are printed. Install and clean too. But all other commands (evec, update, sdist, doctest), apparently, were removed, and
Note for future us: when removing another command, grep through the source before committing. |
88277ab
to
3b491dd
Compare
Excellent. New output:
|
LGTM. If you feel brave, it'd be nice to do something about |
Separate ticket it will be, so we can get some feedback on how big of a failure (assert? warning?) it should be. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well done.
3b491dd
to
d223e13
Compare
I reordered CLI
help
commands to match #8332, but I get some extra whitespace. Any idea why?(mind the extra whitespace around
v1-install
andv1-clean
.Please include the following checklist in your PR:
Please also shortly describe how you tested your change. Bonus points for added tests!