Skip to content

Indentation loss on markdown-style list usage #215

Closed
@JakeWharton

Description

@JakeWharton
private val configs by argument("CONFIG")
    .copy(help = """
      |YAML file containing list of coordinates to watch
      |
      |Format:
      |
      |coordinates:
      | - com.example.ping:pong
      | - com.example.fizz:buzz
      |""".trimMargin())
    .path(fs)
    .multiple(required = true)

produces:

Arguments:
  CONFIG  YAML file containing list of coordinates to watch

          Format:

          coordinates:
 - com.example.ping:pong
 - com.example.fizz:buzz

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