y0014984 / Advanced-Equipment

Advanced Equipment is a Arma 3 mod, that brings equipment to life, like laptops and lamps.
Other
23 stars 9 forks source link

Handling of wrong arguments for commands that have defaults #376

Open y0014984 opened 1 year ago

y0014984 commented 1 year ago

If I use the following command:

crypto -m=encrypt -k=13 -a=column Teststring

I will get en encrypted string, that is encrypted with caesar algorithm and not with columnar algorithm. "columnar" would be the correct option. I think because this command defaults to "caesar", it will give no feedback that the given argument was wrong. We should change that. It's not critical but would help users with wrong commands.