Skip to content

Commit

Permalink
docs: Add a typical invocation example.
Browse files Browse the repository at this point in the history
[skip ci][skip lemma]
  • Loading branch information
jashank authored and Zilin Chen committed Jan 10, 2020
1 parent bcc9f0e commit 00aeb59
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/compiler.rst
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,14 @@ influencing the compiler's behaviour as it works.
-O LEVEL, --optimisation=LEVEL \
set optimisation level (0, 1, 2, d, n, s or u; default -Od)
.. highlight:: bash

A typical invocation might be::

$ cogent -g -o generated \
--infer-c-funcs=main.ac \
--infer-c-types=abstract/Grid.ah \
mandelbrot.cogent

Commands
^^^^^^^^^^^^^^^^^^^^^^^^
Expand Down

0 comments on commit 00aeb59

Please sign in to comment.