solidiquis / erdtree

A modern, cross-platform, multi-threaded, and general purpose filesystem and disk-usage utility that is aware of .gitignore and hidden file rules.
https://crates.io/crates/erdtree
MIT License
2.39k stars 64 forks source link

`erd -s rmod` and `erd -s mod` definitions are reversed #228

Closed johnnyutahh closed 1 year ago

johnnyutahh commented 1 year ago

In erdtree 3.1.2, -s mod vs -s rmod definitions are reversed, according to the following help text. ie: rmod actually sorts newer to older, and mod sorts older to newer.

- mod:     Sort entries by newer to older Alteration Date
- rmod:    Sort entries by older to newer Alteration Date

I have not yet tested the other timestamp ordering with their reversed/r designation, but it might be worth auditing them, too.