summaryrefslogtreecommitdiff
path: root/docs/modules.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/modules.md')
-rw-r--r--docs/modules.md12
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/modules.md b/docs/modules.md
index 8bbe6d49..c4dd3f8b 100644
--- a/docs/modules.md
+++ b/docs/modules.md
@@ -19,7 +19,7 @@ object foo extends mill.Module{
```
You would be able to run the two targets via `mill foo.bar` or `mill
-foo.baz.qux`. You can use `mill --show foo.bar` or `mill --show foo.baz.qux` to
+foo.baz.qux`. You can use `mill show foo.bar` or `mill show foo.baz.qux` to
make Mill echo out the string value being returned by each Target. The two
targets will store their output metadata & files at `./out/foo/bar` and
`./out/foo/baz/qux` respectively.
@@ -46,11 +46,11 @@ object foo2 extends FooModule{
This would make the following targets available from the command line
-- `mill --show foo1.bar`
-- `mill --show foo1.baz`
-- `mill --show foo2.bar`
-- `mill --show foo2.baz`
-- `mill --show foo2.qux`
+- `mill show foo1.bar`
+- `mill show foo1.baz`
+- `mill show foo2.bar`
+- `mill show foo2.baz`
+- `mill show foo2.qux`
The built in `mill.scalalib` package uses this to define
`mill.scalalib.ScalaModule`, `mill.scalalib.SbtModule` and