Skip to content

Update command line option parsing#2070

Merged
stefanrueger merged 4 commits intoavrdudes:mainfrom
stefanrueger:parsing
Jan 15, 2026
Merged

Update command line option parsing#2070
stefanrueger merged 4 commits intoavrdudes:mainfrom
stefanrueger:parsing

Conversation

@stefanrueger
Copy link
Collaborator

This PR provides long options for

  • -A --keep-trailing-0xff
  • -E --exitspecs
  • -F --force
  • -i --isp-clock-delay
  • -T --command
  • -x --extended

It allows -h in addition to -? to show the help message.

Invalid short option characters are shown the usage text before the invalid option message (so it doesn't scroll out of sight)

Invalid long options show an error without usage message

@stefanrueger stefanrueger added the enhancement New feature or request label Jan 12, 2026
@stefanrueger stefanrueger merged commit 3200d92 into avrdudes:main Jan 15, 2026
15 checks passed
@stefanrueger stefanrueger deleted the parsing branch January 15, 2026 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant