Support for bare double dash in argument parsing with SimpleCommandLineArgsParser [SPR-17416] #21949
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
status: superseded
An issue that has been superseded by another
type: enhancement
A general enhancement
Uh oh!
There was an error while loading. Please reload this page.
Phil Webb opened SPR-17416 and commented
Originally raise as a Spring Boot issue:
I would like Spring Boot application to support guideline 10 of POSIX.1-2017 - Utility argument convention section:
The desired behavior is to recognize the
--
and leave all the arguments to the right of it alone.Just for context: in
2.0.x
passing--
to a SpringBoot application results in an error (sample trace below). The double dash is treated as an invalid option (whose name is zero-length) and there seems to be no way to configure this behavior.Reference URL: spring-projects/spring-boot#14909
The text was updated successfully, but these errors were encountered: