Skip to content

Commit c3520bc

Browse files
remagpiemergify[bot]
authored andcommitted
Make --chain argument global
1 parent 4631dbd commit c3520bc

File tree

1 file changed

+6
-17
lines changed

1 file changed

+6
-17
lines changed

codechain/codechain.yml

Lines changed: 6 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@ version_short: "v"
33
author: CodeChain Team <hi@codechain.io>
44
about: CodeChian client
55
args:
6+
- chain:
7+
short: c
8+
long: chain
9+
help: Set the blockchain type out of solo, simple_poa, tendermint, cuckoo, blake_pow, corgi, mainnet or a path to chain scheme file.
10+
takes_value: true
11+
global: true
612
- allowed-future-gap:
713
long: allowed-future-gap
814
value_name: MS
@@ -55,11 +61,6 @@ args:
5561
short: q
5662
long: quiet
5763
help: Do not show any synchronization information in the console.
58-
- chain:
59-
short: c
60-
long: chain
61-
help: Set the blockchain type out of solo, simple_poa, tendermint, cuckoo, blake_pow, corgi, mainnet or a path to chain scheme file.
62-
takes_value: true
6364
- base-path:
6465
long: base-path
6566
value_name: PATH
@@ -309,12 +310,6 @@ subcommands:
309310
global: true
310311
help: Specify the path for JSON key files to be found
311312
takes_value: true
312-
- chain:
313-
short: c
314-
long: chain
315-
global: true
316-
help: Set the blockchain type out of solo, simple_poa, tendermint, cuckoo, blake_pow, corgi, mainnet or a path to chain scheme file.
317-
takes_value: true
318313
subcommands:
319314
- create:
320315
about: create account
@@ -351,12 +346,6 @@ subcommands:
351346
- convert:
352347
about: Conversion utility
353348
args:
354-
- chain:
355-
short: c
356-
long: chain
357-
global: true
358-
help: Set the blockchain type out of solo, simple_poa, tendermint, cuckoo, blake_pow, corgi, mainnet or a path to chain scheme file.
359-
takes_value: true
360349
- from:
361350
short: f
362351
long: from

0 commit comments

Comments
 (0)