Show toolchain list only once when the -i/--installed
flag is provided
#86
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
We'd appreciate someone creating a PR to address this
Here's the output of running
cargo sweep -r -i
:But here's what the first line looks like in the terminal emulator:
[INFO] Using all installed toolchains: ["stable-2022-09-22-x86_64-unknown-linux-gnu", "stable-x86_64-unknown-linux-gnu", "nightly-2022-06-20-x86_64-unknown-linux-gnu", "nightly-2022-08-06-x86_64-unknown-linux-gnu", "nightly-x86_64-unknown-linux-gnu", "1.35.0-x86_64-unknown-linux-gnu", "1.57.0-x86_64-unknown-linux-gnu", "1.58.1-x86_64-unknown-linux-gnu", "1.59.0-x86_64-unknown-linux-gnu", "1.60.0-x86_64-unknown-linux-gnu", "1.61.0-x86_64-unknown-linux-gnu", "1.63.0-x86_64-unknown-linux-gnu", "1.64.0-x86_64-unknown-linux-gnu", "1.65.0-x86_64-unknown-linux-gnu"]
My home dir has 26 projects, so this gets shown 26 times, making the output unreadable.
IMHO the toolchain list should be shown only once if the
-i/--installed
flag is provided.The text was updated successfully, but these errors were encountered: