Skip to content

InvalidArgumentName when argument name has trailing digit #62

@srki-lendup

Description

@srki-lendup

val url1 by parser.storing(help = "jdbc url. Example: jdbc:postgresql://localhost:5432/db1")

results in:

Exception in thread "main" java.lang.IllegalArgumentException: URL1 is not a valid argument name

Not sure if this is by design or a bug. Changing to the following fixes the issue:

val url_1 by parser.storing(help = "jdbc url. Example: jdbc:postgresql://localhost:5432/db1")

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