Fix 11473: Fixes the newline issue for hscolour help command#11481
Merged
mergify[bot] merged 1 commit intohaskell:masterfrom Feb 13, 2026
Merged
Fix 11473: Fixes the newline issue for hscolour help command#11481mergify[bot] merged 1 commit intohaskell:masterfrom
mergify[bot] merged 1 commit intohaskell:masterfrom
Conversation
geekosaur
approved these changes
Feb 10, 2026
philderbeast
approved these changes
Feb 11, 2026
Collaborator
|
With #11472 already merged, this will fix #11473. Template B: This PR does not modify behaviour or interface
|
Contributor
Merge Queue StatusRule:
This pull request spent 2 hours 5 minutes 35 seconds in the queue, including 1 hour 55 minutes 16 seconds running CI. Required conditions to merge
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR fixes a formatting issue where the
hscolourcommand help output was missing a trailing newline character in its commandNotes section.I tried it with many commands and found that only
hscolourhas the issue because of the missing '\n' character, so this should fix it.Related Issue
Fixes #11473
Steps to Reproduce & Verify
To verify the missing newline in the current master branch:
cabal hscolour --help | tail -c 1 | od -An -tc., so no newline.To verify the fix in this branch:
cabal run cabal-install -- hscolour --help | tail -c 1 | od -An -tc\n.Changes
Cabal/src/Distribution/Simple/Setup/Hscolour.hs.\nto thecommandNotesstring within thehscolourCommanddefinition.