Skip to content

Exit on unrecognized CLI option#727

Open
Perdu wants to merge 2 commits intoclementgallet:masterfrom
Perdu:exit_wrong_cli_option
Open

Exit on unrecognized CLI option#727
Perdu wants to merge 2 commits intoclementgallet:masterfrom
Perdu:exit_wrong_cli_option

Conversation

@Perdu
Copy link
Copy Markdown
Contributor

@Perdu Perdu commented Mar 31, 2026

When user enter an incorrect CLI parameter, a simple line is printed and libTAS is opened anyway, making it easy to miss the error.

Properly exit on incorrect parameter and write error on stderr instead of stdout

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant