Rudxain / xorsum

Get XOR checksum with this command-line tool
https://crates.io/crates/xorsum
GNU Lesser General Public License v3.0
0 stars 1 forks source link

Support "anti" options as positional #13

Closed Rudxain closed 2 years ago

Rudxain commented 2 years ago

The cmd

xorsum -a lo -A UP

Should output lowercase hex digest for the file "lo" and uppercase hex for "UP". Instead of the current behavior which uses whatever last capitalization is specified.

This gives more freedom to users, and makes the program "more correct"

Rudxain commented 2 years ago

I realized this can be extended/generalized to any other option and flag, like -l

Rudxain commented 2 years ago

This deviates from the standard behavior of GNU core-utils, so it'll be added to quirky mode

Rudxain commented 2 years ago

Implementing this will take time, and it'll make the code unnecessarily complicated, and it'll make the executable bigger. From my subjective and lazy POV, this is just feature-creep, I won't waste my time in this when there's more important things to do, specially if all the functionality that this suggests can be emulated with simple shell scripts