Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix error message for wrong trigger #31

Merged
merged 1 commit into from
Jun 22, 2024
Merged

Conversation

Chasarr
Copy link
Contributor

@Chasarr Chasarr commented Jun 22, 2024

Previously the program exited with exit code 0 and no warning if you entered an invalid trigger not being "left", "right", or "both". Now this issue is fixed.

@Chasarr
Copy link
Contributor Author

Chasarr commented Jun 22, 2024

When I was playing around with dualsensectl I could not find any info on what keywords trigger accepted. I tried "dualsensectl trigger R1" and similar, but I had to read the source code to find out that only the options "left", "right" and "both" are valid. Now it should be easier for users to find this out with the warning messages.

Maybe it's a good idea to add this in the help menu too?

Previously the program exited with exit code 0 and no warning if you
entered an invalid trigger not being "left", "right", or "both". Now
this issue is fixed.
@nowrep nowrep merged commit 8d82fa9 into nowrep:main Jun 22, 2024
1 check passed
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.

2 participants