Skip to content

Commit 2aab5ef

Browse files
ogma-cli: Fix incorrect arguments to diagram command in tutorial. Refs #349.
The arguments used to invoke the diagram command in the tutorial are incorrect. Specifically, the tutorial uses arguments `--app-target-dir` and `--file-format`, while the actual command uses `--target-dir` and `--input-format`. This commit fixes invocations of Ogma in the diagram tutorial to use argument names that Ogma supports.
1 parent 91125ff commit 2aab5ef

File tree

1 file changed

+4
-4
lines changed
  • ogma-cli/examples/diagram-001-hello-ogma

1 file changed

+4
-4
lines changed

ogma-cli/examples/diagram-001-hello-ogma/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,10 @@ machine implementations, users need to provide the following information:
5252
An invocation of Ogma's diagram backend may look like the following:
5353

5454
```sh
55-
$ ogma diagram --app-target-dir demo \
55+
$ ogma diagram --target-dir demo \
5656
--mode calculate \
5757
--input-file ogma-cli/examples/diagram-001-hello-ogma/diagram-copilot.dot \
58-
--file-format dot \
58+
--input-format dot \
5959
--prop-format literal
6060
```
6161

@@ -195,10 +195,10 @@ To generate the application from the diagram above, we invoke `ogma` with the
195195
following arguments:
196196

197197
```sh
198-
$ ogma diagram --app-target-dir demo \
198+
$ ogma diagram --target-dir demo \
199199
--prop-format literal \
200200
--mode calculate \
201-
--file-format dot \
201+
--input-format dot \
202202
--input-file ogma-cli/examples/diagram-001-hello-ogma/diagram-copilot.dot
203203
```
204204

0 commit comments

Comments
 (0)