public CommandLine setEndOfOptionsDelimiter ( String delimiter ) { getCommandSpec ( ) . parser ( ) . endOfOptionsDelimiter ( delimiter ) ; for ( CommandLine command : getCommandSpec ( ) . subcommands ( ) . values ( ) ) { command . setEndOfOptionsDelimiter ( delimiter ) ; } return this ; }
Sets the end - of - options delimiter that signals that the remaining command line arguments should be treated as positional parameters .