Update cmdline arguments

This commit is contained in:
the-sane
2025-10-09 16:25:14 -04:00
parent eedd58fb68
commit 25e88945da

View File

@@ -3048,14 +3048,16 @@ Usage: lug-helper <options>
-i, --install Install Star Citizen -i, --install Install Star Citizen
-m, --manage-runners Install or remove Wine runners -m, --manage-runners Install or remove Wine runners
-k, --manage-dxvk Manage DXVK in the Wine prefix -k, --manage-dxvk Manage DXVK in the Wine prefix
-u, --update-launch-script Update/Repair the game launch script
-e, --edit-launch-script Edit the game launch script -e, --edit-launch-script Edit the game launch script
-c, --wine-config Launch winecfg for the game's prefix -c, --wine-config Launch winecfg for the game's prefix
-j, --wine-controllers Launch Wine controllers configuration -j, --wine-controllers Launch Wine controllers configuration
-g, --no-gui Use terminal menus instead of a Zenity GUI -l, --update-rsi-launcher Update/Re-install RSI Launcher
-r, --get-referral Get a random LUG member's referral code -r, --get-referral Get a random LUG member's referral code
-d, --show-directories Show all Star Citizen and Helper directories -d, --show-directories Show all Star Citizen and Helper directories
-w, --show-wiki Show the LUG Wiki -w, --show-wiki Show the LUG Wiki
-x, --reset-helper Delete saved lug-helper configs -x, --reset-helper Delete saved lug-helper configs
-g, --no-gui Use terminal menus instead of a Zenity GUI
-v, --version Display version info and exit -v, --version Display version info and exit
" "
exit 0 exit 0
@@ -3072,6 +3074,9 @@ Usage: lug-helper <options>
--manage-dxvk | -k ) --manage-dxvk | -k )
cargs+=("dxvk_menu") cargs+=("dxvk_menu")
;; ;;
--update-launch-script | -u )
cargs+=("update_launch_script")
;;
--edit-launch-script | -e ) --edit-launch-script | -e )
cargs+=("edit_launch_script") cargs+=("edit_launch_script")
;; ;;
@@ -3081,10 +3086,8 @@ Usage: lug-helper <options>
--wine-controllers | -j ) --wine-controllers | -j )
cargs+=("call_launch_script controllers") cargs+=("call_launch_script controllers")
;; ;;
--no-gui | -g ) --update-rsi-launcher | -l )
# If zenity is unavailable, it has already been set to 0 cargs+=("reinstall_rsi_launcher")
# and this setting has no effect
use_zenity=0
;; ;;
--get-referral | -r ) --get-referral | -r )
cargs+=("referral_randomizer") cargs+=("referral_randomizer")
@@ -3098,6 +3101,11 @@ Usage: lug-helper <options>
--reset-helper | -x ) --reset-helper | -x )
cargs+=("reset_helper") cargs+=("reset_helper")
;; ;;
--no-gui | -g )
# If zenity is unavailable, it has already been set to 0
# and this setting has no effect
use_zenity=0
;;
--version | -v ) --version | -v )
printf "LUG Helper %s\n" "$current_version" printf "LUG Helper %s\n" "$current_version"
exit 0 exit 0