Thanks to visit codestin.com
Credit goes to github.com

Skip to content

3.5.0

Choose a tag to compare

@eed3si9n eed3si9n released this 12 Jun 03:29
· 304 commits to develop since this release
v3.5.0

breaking changes

two-column rendering

scopt 3.5.0 introduces two-column rendering for the usage text, which is enabled by default:

scopt 3.x
Usage: scopt [update] [options] [<file>...]

  -f, --foo <value>        foo is an integer property
  -o, --out <file>         out is a required file property

Command: update [options]
update is a command.
  --xyz <value>            xyz is a boolean property

This is a bit more compact compared to the previous (one-column) rendering that looked like this:

scopt 3.x
Usage: scopt [update] [options] [<file>...]

  -f <value> | --foo <value>
        foo is an integer property
  -o <file> | --out <file>
        out is a required file property

Command: update [options]
update is a command.
  --xyz <value>
        xyz is a boolean property

You can switch back to the one-column rendering as follows:

override def renderingMode = scopt.RenderingMode.OneColumn

This feature was contributed by @Jibbers42 as #109.