Skip to content

Bug when parsing? #24

@victorsndvg

Description

@victorsndvg

Hello Stefano,

I think that i have found a potential bug:

if the user writes duplicate or wrong switches through the command line it could happen than in line:

if (.not.cli%cla(a)%positional) then

The index a could be bigger than cli%Na. If it happens we get a segmentation fault.

I thinks that in this point this index a is not related with the cli%cla(a) option

Best regards,
Víctor.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions