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

Parse USB bus:dev as decimal integers, to be consistent with --scan-usb. #358

Merged
merged 1 commit into from
Jul 29, 2023

Conversation

inkdot7
Copy link
Contributor

@inkdot7 inkdot7 commented Jul 29, 2023

Do not accept auto-detected base 0 (e.g. prefix '0x' for hex), since '0' prefix gives an octal interpretation, and the user is likely to copy values from --scan-usb or lsusb that could then be misinterpreted, e.g. 005:010.

See description in #354.

Do not accept auto-detected base 0 (e.g. prefix '0x' for hex), since '0'
prefix gives an octal interpretation, and the user is likely to copy
values from `--scan-usb` or `lsusb` that could then be misinterpreted,
e.g. 005:010.
@trabucayre trabucayre merged commit baeb9d5 into trabucayre:master Jul 29, 2023
16 checks passed
@trabucayre
Copy link
Owner

Applied. Thanks @inkdot7

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