Skip to content

Commit

Permalink
Update usage section in README
Browse files Browse the repository at this point in the history
  • Loading branch information
klemens committed Mar 22, 2017
1 parent 34e89aa commit 1b0d96b
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,23 @@ You can specify the filename of the program you want to load as a parameter on
the command line:

```sh
target/release/2i-emulator doc/examples/answer.2i
./2i-emulator doc/examples/answer.2i
```

Or use the built-in `load` command:

```sh
target/release/2i-emulator
./2i-emulator
> load doc/examples/answer.2i
```

You can also associate `2i`-files directly with the emulator.
You can also generate LaTeX documents for your `2i`-programs:

```sh
./2i-emulator latex --autor "Erika Mustermann" answer.2i multiply.2i
```

See `./2i-emulator --help` for more details.

## Example

Expand Down

0 comments on commit 1b0d96b

Please sign in to comment.