Skip to content

Commit 2e931d1

Browse files
committed
Improve phrasing in the CLI and sbt docs
1 parent 634c370 commit 2e931d1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/src/paradox/cli.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,11 @@ The generated bindings can be configured using the different options and it is a
4545

4646
| Option | Description
4747
|----------------------|---------------------------------------------------------------------------------|
48-
| `--link` | Library to link with, e.g. `--link` uv for libuv.
48+
| `--link` | Library to link with, e.g. `--link uv` for libuv.
4949
| `--no-link` | Library does not require linking.
50-
| `--name` | Scala object name that contains bindings. Default value set to library name.
50+
| `--name` | Scala object name that contains bindings. Defaults to the library name.
5151
| `--package` | Package name of generated Scala file.
52-
| `--exclude-prefix` | Functions and unused typedefs will be removed if their names have given prefix.
52+
| `--exclude-prefix` | Functions and unused typedefs will be removed if their names have the given prefix.
5353
| `--binding-config` | Path to a config file that contains the information about bindings that should be reused. See @ref:[Integrating Bindings](integrating-bindings.md) for more information.
5454
| `--extra-arg` | Additional argument to append to the compiler command line.
5555
| `--extra-arg-before` | Additional argument to prepend to the compiler command line.

docs/src/paradox/sbt.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ Given that the `stdlib.h` header file contains:
2828

2929
@@snip [sbt] (../../../sbt-scala-native-bindgen/src/sbt-test/bindgen/generate/src/main/resources/stdlib.h)
3030

31-
Running `nativeBindgen` will generate a file named `target/scala-2.11/src_managed/main/sbt-scala-native-bindgen/stdlib.scala` containing something along the following lines:
31+
Running `nativeBindgen` will generate a file named `target/scala-2.11/src_managed/main/sbt-scala-native-bindgen/stdlib.scala` containing the following lines:
3232

3333
@@snip [sbt] (../../../sbt-scala-native-bindgen/src/sbt-test/bindgen/generate/expected/stdlib.scala)

0 commit comments

Comments
 (0)