mirror of
https://github.com/the-sane/lug-helper.git
synced 2024-12-28 01:34:19 +00:00
Add --version command line argument
This commit is contained in:
parent
6decb35252
commit
568f24a15c
@ -2382,6 +2382,7 @@ Usage: lug-helper <options>
|
||||
-d, --show-directories Show all Star Citizen and LUG Helper directories
|
||||
-w, --show-wiki Show the LUG Wiki
|
||||
-x, --reset-helper Delete saved lug-helper configs
|
||||
-v, --version Display version info and exit
|
||||
"
|
||||
exit 0
|
||||
;;
|
||||
@ -2447,6 +2448,10 @@ Usage: lug-helper <options>
|
||||
--reset-helper | -x )
|
||||
cargs+=("reset_helper")
|
||||
;;
|
||||
--version | -v )
|
||||
printf "LUG Helper %s\n" "$current_version"
|
||||
exit 0
|
||||
;;
|
||||
* )
|
||||
printf "$0: Invalid option '%s'\n" "$1"
|
||||
exit 0
|
||||
|
Loading…
Reference in New Issue
Block a user