[sitl] add --version, add git commit to version output (#9286)
commit3a2412e5e680da0460f54f482d23e88e8ef128c1
authorJonathan Hudson <jh+github@daria.co.uk>
Sat, 9 Sep 2023 07:34:28 +0000 (9 08:34 +0100)
committerGitHub <noreply@github.com>
Sat, 9 Sep 2023 07:34:28 +0000 (9 08:34 +0100)
treedd5c0c7afa73a35ff53f251d9a70b8b4ea7137e4
parentcf12672c3a0ae1e5115f83035c8a1b1cda423a54
[sitl] add --version, add git commit to version output (#9286)

* [sitl] add --version, add git commit to version output

* [sitl] take help path on invalid options
src/main/target/SITL/target.c