Add usage info to readme

This commit is contained in:
Joscha 2024-09-04 19:50:13 +02:00
parent 7ab8e0d6f4
commit f429b3934e

View file

@ -11,3 +11,15 @@ Format and reformat ascii proof trees like this one:
§ ---------------------------------------------------------------------- RewriteAt § ---------------------------------------------------------------------- RewriteAt
§ [x:=*;][?x>0;x:=x+1;]x>1 § [x:=*;][?x>0;x:=x+1;]x>1
``` ```
To reformat all proof trees in your project, run:
```shell
java -jar asciiprooftree.jar path/to/your/src
```
If you want to use a different marker string than `§`, you can use the `--marker` option:
```shell
java -jar asciiprooftree.jar path/to/your/src --marker 't>'
```