Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Fix cli usage #55

Merged
merged 1 commit into from
Jul 30, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/examples/hello-world.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -166,9 +166,9 @@ WASM using it.

```sh
soroban-cli invoke \
--file ../target/wasm32-unknown-unknown/release/soroban_hello_world_contract.wasm \
--contract-id 1
--fn hello
--wasm ../target/wasm32-unknown-unknown/release/soroban_hello_world_contract.wasm \
--id 1 \
--fn hello \
--arg friend
```

Expand Down
4 changes: 2 additions & 2 deletions docs/examples/increment.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,8 @@ WASM using it.

```sh
soroban-cli invoke \
--file ../target/wasm32-unknown-unknown/release/soroban_increment_contract.wasm \
--contract-id 1
--wasm ../target/wasm32-unknown-unknown/release/soroban_increment_contract.wasm \
--id 1 \
--fn increment
```

Expand Down
6 changes: 3 additions & 3 deletions docs/tutorials/build-and-run.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ function with a single argument `"friend"`.

```sh
soroban-cli invoke \
--file target/wasm32-unknown-unknown/release/first-project.wasm \
--contract-id 1
--fn hello
--wasm target/wasm32-unknown-unknown/release/first-project.wasm \
--id 1 \
--fn hello \
--arg friend
```

Expand Down