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

Exception triggered on new command-line parser #183

Closed
flydev-fr opened this issue May 1, 2023 · 1 comment
Closed

Exception triggered on new command-line parser #183

flydev-fr opened this issue May 1, 2023 · 1 comment

Comments

@flydev-fr
Copy link
Sponsor

flydev-fr commented May 1, 2023

I have been playing with the new command-line parser and when only the switch symbol is given as argument, an access violation is triggered, on Delphi and FPC.

Issue

$: Project1.exe /
EAccessViolation: Access violation

Expecting

Project1.exe / 
Unexpected / option

Usage: Project1 [options]
...

You can find a Delphi and FPC reproducible sample there: flydev-fr/mormot2-command-line-parser

Also just sent a PR #182

@synopse
Copy link
Owner

synopse commented May 2, 2023

Perhaps linked to 38f27f08

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

No branches or pull requests

2 participants