about summary refs log tree commit diff
path: root/tests/codegen/src-hash-algorithm
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-09-25 11:35:33 +0000
committerbors <bors@rust-lang.org>2023-09-25 11:35:33 +0000
commit78ddc8d17db66a41ed9c4970036edc69142b72fb (patch)
tree3cf76be3be89077f52771d8c68fae4cb52ac4740 /tests/codegen/src-hash-algorithm
parent7671c283a50b5d1168841f3014b14000f01dd204 (diff)
parent6ad218ceef976d67af4bd065732b1f37595c882c (diff)
downloadrust-78ddc8d17db66a41ed9c4970036edc69142b72fb.tar.gz
rust-78ddc8d17db66a41ed9c4970036edc69142b72fb.zip
Auto merge of #11495 - blyxyas:help_message_reformat, r=flip1995
Add colored help to be consistent with Cargo

On rust-lang/cargo#12578, a new colored help message format was introduced. This PR introduces the same styling from that `cargo help` message to our `cargo clippy --help` message.

More information is provided in the original PR, fixes #11482. The perfect reviewing process would be that the reviewer installs this branch and checks for themselves, but here are some screenshots, there are some more screenshots in the original issue.

![image](https://github.com/rust-lang/rust-clippy/assets/73757586/0c4d1b6d-5aa2-4146-a401-9ae88f6dedf5)

(Note that the actual text may change in the actual commit, that screenshot is just to test the colors).
Also note that the `color-print` version **should always** be synced with Cargo's `color-print` version to avoid increasing build times in the rust-lang/rust repo.

changelog:Add colors to the `cargo clippy --help` output :tada:.
Diffstat (limited to 'tests/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions