@@ -4,13 +4,7 @@ title: Subcommand options
44
55# ` admin `
66
7- Used to perform administrative tasks. To use the ` admin ` subcommand run:
8-
9- ``` bash
10- teku admin [subcommand] [subcommand] [options]
11- ```
12-
13- You can also supply the subcommand options using [ environment variables or a configuration file] .
7+ Used to perform administrative tasks.
148
159## ` weak-subjectivity `
1610
@@ -20,7 +14,7 @@ Display or clear weak subjectivity configuration.
2014
2115Clears the stored weak subjectivity configuration.
2216
23- #### config-file
17+ #### ` config-file `
2418
2519=== "Syntax"
2620
@@ -43,7 +37,7 @@ Clears the stored weak subjectivity configuration.
4337Path to the YAML configuration file.
4438The default is ` none ` .
4539
46- #### data-base-path, data-path
40+ #### ` data-base-path ` , ` data-path `
4741
4842=== "Syntax"
4943
@@ -77,7 +71,7 @@ Path to the Teku data directory. The default directory is OS-dependent:
7771
7872The default Docker image location is ` /root/.local/share/teku ` .
7973
80- #### data-beacon-path
74+ #### ` data-beacon-path `
8175
8276=== "Syntax"
8377
@@ -106,7 +100,7 @@ The default Docker image location is `/root/.local/share/teku`.
106100Path to the beacon chain client data. The default is ` <data-base-path>/beacon ` where ` <data-base-path> `
107101is specified using [ ` --data-base-path ` ] ( #data-base-path-data-path ) .
108102
109- #### data-storage-archive-frequency
103+ #### ` data-storage-archive-frequency `
110104
111105=== "Syntax"
112106
@@ -147,7 +141,7 @@ This option is ignored if [`--data-storage-mode`](#data-storage-mode) is set to
147141 `--data-storage-archive-frequency=2048` uses less disk space, but may need to regenerate the
148142 state because every 2048th slot state is saved.
149143
150- #### data-storage-mode
144+ #### ` data-storage-mode `
151145
152146=== "Syntax"
153147
@@ -176,7 +170,7 @@ This option is ignored if [`--data-storage-mode`](#data-storage-mode) is set to
176170Set the strategy for handling historical chain data. Valid options are ` prune ` and ` archive ` .
177171The default is ` prune ` .
178172
179- #### data-validator-path
173+ #### ` data-validator-path `
180174
181175=== "Syntax"
182176
@@ -205,7 +199,7 @@ The default is `prune`.
205199Path to the validator client data. The default is ` <data-base-path>/validator ` where ` <data-base-path> `
206200is specified using [ ` --data-base-path ` ] ( #data-base-path-data-path ) .
207201
208- #### eth1-deposit-contract-address
202+ #### ` eth1-deposit-contract-address `
209203
210204=== "Syntax"
211205
@@ -233,7 +227,7 @@ is specified using [`--data-base-path`](#data-base-path-data-path).
233227
234228Ethereum 1.0 address of the deposit contract. Only required when creating a custom network.
235229
236- #### network
230+ #### ` network `
237231
238232=== "Syntax"
239233
@@ -278,7 +272,7 @@ bootnodes, and the address of the Ethereum 1.0 deposit contract.
278272
279273Displays the stored weak subjectivity configuration.
280274
281- #### config-file
275+ #### ` config-file `
282276
283277=== "Syntax"
284278
@@ -301,7 +295,7 @@ Displays the stored weak subjectivity configuration.
301295Path to the YAML configuration file.
302296The default is ` none ` .
303297
304- #### data-base-path, data-path
298+ #### ` data-base-path ` , ` data-path `
305299
306300=== "Syntax"
307301
@@ -335,7 +329,7 @@ Path to the Teku data directory. The default directory is OS-dependent:
335329
336330The default Docker image location is ` /root/.local/share/teku ` .
337331
338- #### data-beacon-path
332+ #### ` data-beacon-path `
339333
340334=== "Syntax"
341335
@@ -364,7 +358,7 @@ The default Docker image location is `/root/.local/share/teku`.
364358Path to the beacon chain client data. The default is ` <data-base-path>/beacon ` where ` <data-base-path> `
365359is specified using [ ` --data-base-path ` ] ( #data-base-path-data-path ) .
366360
367- #### data-storage-archive-frequency
361+ #### ` data-storage-archive-frequency `
368362
369363=== "Syntax"
370364
@@ -405,7 +399,7 @@ This option is ignored if [`--data-storage-mode`](#data-storage-mode) is set to
405399 `--data-storage-archive-frequency=2048` uses less disk space, but may need to regenerate the
406400 state because every 2048th slot state is saved.
407401
408- #### data-storage-mode
402+ #### ` data-storage-mode `
409403
410404=== "Syntax"
411405
@@ -434,7 +428,7 @@ This option is ignored if [`--data-storage-mode`](#data-storage-mode) is set to
434428Set the strategy for handling historical chain data. Valid options are ` prune ` and ` archive ` .
435429The default is ` prune ` .
436430
437- #### data-validator-path
431+ #### ` data-validator-path `
438432
439433=== "Syntax"
440434
@@ -463,7 +457,7 @@ The default is `prune`.
463457Path to the validator client data. The default is ` <data-base-path>/validator ` where ` <data-base-path> `
464458is specified using [ ` --data-base-path ` ] ( #data-base-path-data-path ) .
465459
466- #### eth1-deposit-contract-address
460+ #### ` eth1-deposit-contract-address `
467461
468462=== "Syntax"
469463
@@ -491,7 +485,7 @@ is specified using [`--data-base-path`](#data-base-path-data-path).
491485
492486Ethereum 1.0 address of the deposit contract. Only required when creating a custom network.
493487
494- #### network
488+ #### ` network `
495489
496490=== "Syntax"
497491
@@ -530,6 +524,3 @@ Possible values are:
530524
531525Predefined networks can provide defaults such the initial state of the network,
532526bootnodes, and the address of the Ethereum 1.0 deposit contract.
533-
534- <!-- link -->
535- [ environment variables or a configuration file ] : ../CLI-Syntax.md#specifying-options
0 commit comments