mirror of
https://github.com/bootandy/dust.git
synced 2026-06-08 11:29:05 +03:00
[GH-ISSUE #136] Multiple arguments should be unified under 1 scale #55
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @KSXGitHub on GitHub (Mar 12, 2021).
Original GitHub issue: https://github.com/bootandy/dust/issues/136
I often use
dust <file1> <file2> <file3>to compare their sizes. Unfortunately, their visual bars all have the same length despite their different sizes.Example
Command
Expected behaviour
Actual behaviour
@xdevs23 commented on GitHub (Mar 18, 2021):
Just my two cents: Perhaps adding a command line argument like
--compareto enable this behavior could be better than changing the default behavior for everyone.@KSXGitHub commented on GitHub (Mar 19, 2021):
@xdevs23 I find no use case where bars having the same length despite their different sizes make sense. Not to mention, if a user really wish the old behaviour for some inexplicable reason, they can always call
dustmultiple times (i.e.dust foo && dust barinstead ofdust foo bar).@xdevs23 commented on GitHub (Mar 19, 2021):
@KSXGitHub that's a good point, I agree.
@bootandy commented on GitHub (Mar 27, 2021):
I've wondered about this myself.
I did design it that way on purpose originally but in hindsight I think that might have been a mistake.
It's a breaking change but I think it's a reasonable request. I'll try and include it in the next major version release.
@bootandy commented on GitHub (Jun 23, 2021):
behaviour changed in v0.6.0