refactor: arg parsing uses while loop

- safely handle parsing flags sequentially
- better support for -help
This commit is contained in:
2026-05-29 11:06:44 +05:30
parent bad09d22e1
commit f0578aabfa
4 changed files with 50 additions and 23 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 652 KiB

BIN
tests/assets/sample.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 MiB