Skip to content

Defining "spring.config.location" causes picocli parser to fail. #604

@alistairrutherford

Description

@alistairrutherford

The Spring Boot parameter 'spring.config.location' allows you to specify an alternative location for your application.properties file. When I attempted to pass this along with other picocli define parameters it causes the parser to fail and I get help message. The only way I could get this to work was to define the 'spring.config.location' as an optional parameter. I can see why you wouldn't want to add special handling for spring boot for this so you might want to put a note into the documentation.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions