Redo 'Fix zsh completion' with clap#393
Conversation
Because I'm not familiar with Rust, when I was working on bootandy#390 I didn't realize that the completions were auto-generated via clap. I'm sorry. This redoes it with clap. This improves not only the completions but also the --help and the man page. Also the --output-format flag will raise an error if the given value is invalid.
|
Since dust prints sizes with units |
Yeah, let's revert this. This was my fault and I'm working on fixing it in |
|
Are you doing anything special to generate |
I'm sorry if my explanation was not clear enough, but I think this (one letter units are preferred everywhere) is unrelated with the bug dust currently has? To be clear (from my viewpoint):
No, I installed rust using rustup and did not configure anything in particular. I'll look into it. |
You are correct. I misread your early message. |
Because I'm not familiar with Rust, when I was working on #390 I didn't realize that the completions were auto-generated via clap. I'm sorry. This redoes it with clap.
This improves not only the completions but also the --help and the man page. Also the --output-format flag will raise an error if the given value is invalid.