Skip to content

Commit

Permalink
Fix typos in README (#284)
Browse files Browse the repository at this point in the history
This fixes #272.

* Fix typo in dune exec command line.
* Fix text mentioning available options. The correct flag is --help
as -h is used to specify the host.
  • Loading branch information
cuihtlauac authored Sep 1, 2022
1 parent c75f0a5 commit 24caae6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -195,10 +195,10 @@ $ dune build example/simple_middleware/main.ml
```

Here we also use the ability of Opium to generate a cmdliner term to run your
app. Run your executable with `-h` to see the options that are available to you.
app. Run your executable with `--help` to see the options that are available to you.
For example:

```
# run in debug mode on port 9000
$ dune exec dune build example/simple_middleware/main.exe -- -p 9000 -d
$ dune exec example/simple_middleware/main.exe -- -p 9000 -d
```

0 comments on commit 24caae6

Please sign in to comment.