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

pio debug command should fail if an unknown CLI option is passed #4699

Closed
valeros opened this issue Jul 26, 2023 · 0 comments
Closed

pio debug command should fail if an unknown CLI option is passed #4699

valeros opened this issue Jul 26, 2023 · 0 comments

Comments

@valeros
Copy link
Member

valeros commented Jul 26, 2023

Description of problem

Currently, the pio debug command silently exits w/o starting a debug session if an unknown command line option is passed, consider the following command with a typing error:

# Note the typo in the `--inteface` arg
pio debug --inteface=gdb -- -x .pioinit

Actual Results

=== [SUCCESS] Took 2.90 seconds ===
Nothing happens after the compilation phase

Expected Results

Usage: pio debug [OPTIONS]
Try 'pio debug -h' for help.

Error: No such option: --inteface
@ivankravets ivankravets added this to the 6.1.10 milestone Jul 27, 2023
@ivankravets ivankravets modified the milestones: 6.1.10, 6.1.11 Aug 11, 2023
ivankravets added a commit that referenced this issue Dec 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants