Skip to content

Commit

Permalink
Reprased mill --help output for --no-server and --repl and --interact…
Browse files Browse the repository at this point in the history
…ive (#1902)

Pull request: #1902
  • Loading branch information
lefou authored Jun 23, 2022
1 parent e50fa4a commit d5d7dfc
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions main/src/mill/MillConfig.scala
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,14 @@ case class MillConfig(
home: os.Path = mill.api.Ctx.defaultHome,
@arg(
doc =
"""Run Mill in interactive mode and start a build REPL. In this mode, no
"""Run Mill in interactive mode and start a build REPL. This implies --no-server and no
mill server will be used. Must be the first argument."""
)
repl: Flag,
@arg(
name = "no-server",
doc =
"""Run Mill in interactive mode, suitable for opening REPLs and taking user
input. In this mode, no mill server will be used. Must be the first argument."""
"""Run Mill in single-process mode. In this mode, no mill server will be started or used. Must be the first argument."""
)
noServer: Flag,
@arg(
Expand All @@ -31,7 +30,7 @@ case class MillConfig(
short = 'i',
doc =
"""Run Mill in interactive mode, suitable for opening REPLs and taking user
input. In this mode, no mill server will be used. Must be the first argument."""
input. This implies --no-server and no mill server will be used. Must be the first argument."""
)
interactive: Flag,
@arg(name = "version", short = 'v', doc = "Show mill version and exit.")
Expand Down

0 comments on commit d5d7dfc

Please sign in to comment.