shell: improve support for CLI options

- Adds documentation
- Adds a --help switch
- Tidies short/long option form conventions
This commit is contained in:
Marcin Kurczewski 2025-04-26 09:47:36 +02:00
parent 890c7f76bb
commit dc41197cd6
9 changed files with 94 additions and 22 deletions

View file

@ -1,4 +1,6 @@
## [Unreleased](https://github.com/LostArtefacts/TRX/compare/tr2-1.0.1...develop) - ××××-××-××
- added aliases to CLI options (`-gold` becomes `-g/--gold`)
- added a `--help` CLI option (may not output anything on Windows machines  OS bug)
- changed the sound dialog appearance (repositioned, added text labels and arrows)
- fixed Lara voiding if she stops on a tile with a closing door, and the door isn't on a portal (#2848)
- fixed guns carried by enemies not being converted to ammo if Lara has picked up the same gun elsewhere in the same level (#2856)