summaryrefslogtreecommitdiff
path: root/src/SMAPI.Mods.ConsoleCommands
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2022-03-06 19:55:32 -0500
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2022-03-06 19:55:32 -0500
commit2216e37726874af6ab164dbbaef454eb0f2218d0 (patch)
treee3757bc253563d4c3f3e69aa4d301a7e53820dde /src/SMAPI.Mods.ConsoleCommands
parenta4bd5cccd559c977649947fc556654bd2b3152fe (diff)
downloadSMAPI-2216e37726874af6ab164dbbaef454eb0f2218d0.tar.gz
SMAPI-2216e37726874af6ab164dbbaef454eb0f2218d0.tar.bz2
SMAPI-2216e37726874af6ab164dbbaef454eb0f2218d0.zip
rework launch script argument parsing (#832)
This commit... * replaces the internal `--no-reopen-terminal` arg with a documented `--use-current-shell` arg that works on Linux too; * replaces the new SKIP_TERMINAL environment variable with the existing SMAPI_NO_TERMINAL one; * moves argument parsing out of the 'initial setup' section (so it's easier for players to edit if needed); * simplfies argument parsing (no need to support short opt names or add arguments for the default behavior); * fixes arguments not parsed after the first unrecognized argument, so `--unknown --no-terminal` would still open a terminal.
Diffstat (limited to 'src/SMAPI.Mods.ConsoleCommands')
0 files changed, 0 insertions, 0 deletions