[GH-ISSUE #463] Possible Bug: --skip-total still shows a 100% output at the end... #206

Closed
opened 2026-06-08 11:26:08 +03:00 by zhus · 4 comments
Owner

Originally created by @whazlewo on GitHub (Jan 24, 2025).
Original GitHub issue: https://github.com/bootandy/dust/issues/463

When running with --skip-total, should I still see a 100% bar in the output?

Without --skip-total
Image

With --skip-total - My assumption is that I should NOT see the 100% quantity at the end??
Image

Originally created by @whazlewo on GitHub (Jan 24, 2025). Original GitHub issue: https://github.com/bootandy/dust/issues/463 When running with --skip-total, should I still see a 100% bar in the output? Without --skip-total <img width="3001" alt="Image" src="https://github.com/user-attachments/assets/0583343a-8aea-44e8-9919-765c1f2df29a" /> With --skip-total - My assumption is that I should NOT see the 100% quantity at the end?? <img width="3005" alt="Image" src="https://github.com/user-attachments/assets/0d134588-addf-4168-9efe-be0eaea3dde6" />
zhus closed this issue 2026-06-08 11:26:08 +03:00
Author
Owner

@bootandy commented on GitHub (Jan 25, 2025):

I can see why this is a bit confusing.

The 100% bar isn't for the total - its for the directory 'Rifts'.

if you ran with --skip-total and had:
c: 25MB
a: 50MB
b: 50MB

you would see
c: 50%
a: 100%
b: 100%

The bars are a percentage of 'How much of the the last line'. Without the total it goes on the largest folder.

On reflection, you are probably correct. That isn't right. I'll leave this open and look into it.

<!-- gh-comment-id:2613518789 --> @bootandy commented on GitHub (Jan 25, 2025): I can see why this is a bit confusing. The 100% bar isn't for the total - its for the directory 'Rifts'. if you ran with --skip-total and had: c: 25MB a: 50MB b: 50MB you would see c: 50% a: 100% b: 100% The bars are a percentage of 'How much of the the last line'. Without the total it goes on the largest folder. On reflection, you are probably correct. That isn't right. I'll leave this open and look into it.
Author
Owner

@bootandy commented on GitHub (Jan 26, 2025):

https://github.com/bootandy/dust/pull/465

<!-- gh-comment-id:2614130007 --> @bootandy commented on GitHub (Jan 26, 2025): https://github.com/bootandy/dust/pull/465
Author
Owner

@whazlewo commented on GitHub (Jan 26, 2025):

Bucket list item completed!
(Find and report actual bug on a project) :)

<!-- gh-comment-id:2614132438 --> @whazlewo commented on GitHub (Jan 26, 2025): Bucket list item completed! (Find and report actual bug on a project) :)
Author
Owner

@bootandy commented on GitHub (Jan 26, 2025):

fixed in master will go out in next release

<!-- gh-comment-id:2614332974 --> @bootandy commented on GitHub (Jan 26, 2025): fixed in master will go out in next release
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: bootandy/archived-dust#206