Skip to content

Commit 3652094

Browse files
abhi3700chevdor
andauthored
Removed the unnecessary flags as per the latest version (#82)
* Removed the unnecessary flags * Fix doc --------- Co-authored-by: Chevdor <[email protected]>
1 parent 8cce565 commit 3652094

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -462,8 +462,8 @@ Please note that you will likely need to connect to an **archive** node to retri
462462
**Here we get the latest version of the runtime, the 3 commands do the same since they all use the default values:**
463463

464464
subwasm get
465-
subwasm get --url http://localhost:9933
466-
subwasm get --url http://localhost:9933 --output runtime_000.wasm
465+
subwasm get http://localhost:9933
466+
subwasm get http://localhost:9933 --output runtime_000.wasm
467467

468468
**Here we get an older runtime, back when Polkadot was at block 20 !**
469469

@@ -474,10 +474,10 @@ By default, your runtime will be saved as `runtime_000.wasm`. Running this comma
474474
**Get quick check of a runtime**
475475

476476
# Show the runtime version and exit with status 0
477-
subwasm info --input kusama-2030.wasm
477+
subwasm info kusama-2030.wasm
478478

479479
# Provide a few explanations and exit with a status that is not 0
480-
subwasm info --input tictactoe.wasm
480+
subwasm info tictactoe.wasm
481481

482482
### Metadata JSON and jq tricks
483483

README_src.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@ NOTE: Please note that you will likely need to connect to an **archive** node to
8686
.Here we get the latest version of the runtime, the 3 commands do the same since they all use the default values:
8787

8888
subwasm get
89-
subwasm get --url http://localhost:9933
90-
subwasm get --url http://localhost:9933 --output runtime_000.wasm
89+
subwasm get http://localhost:9933
90+
subwasm get http://localhost:9933 --output runtime_000.wasm
9191

9292
.Here we get an older runtime, back when Polkadot was at block 20 !
9393

@@ -100,10 +100,10 @@ NOTE: By default, your runtime will be saved as `runtime_000.wasm`. Running this
100100
[subs="attributes+"]
101101
----
102102
# Show the runtime version and exit with status 0
103-
{cmd} info --input kusama-2030.wasm
103+
{cmd} info kusama-2030.wasm
104104
105105
# Provide a few explanations and exit with a status that is not 0
106-
{cmd} info --input tictactoe.wasm
106+
{cmd} info tictactoe.wasm
107107
----
108108

109109
=== Metadata JSON and jq tricks

0 commit comments

Comments
 (0)