fix: allow more parameters to be passed through

allow short form of --help (-h) and also --version (-V) to be directly used
This commit is contained in:
Flow86
2025-05-26 11:43:02 +02:00
committed by GitHub
parent b54bc94716
commit 91a2187ec1

View File

@@ -13,7 +13,7 @@ _passthrough=0
for _arg in "$@"
do
case "$_arg" in
--help|example-config)
-h|--help|example-config|-V|--version)
_passthrough=1
;;
esac