You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cmd/es-node/main.go
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -74,8 +74,8 @@ func main() {
74
74
{
75
75
Name: "init",
76
76
Aliases: []string{"i"},
77
-
Usage: `Init storage node by creating a data file for each shard. Type 'es-node init --help' for more information.`,
78
-
UsageText: `You can specify shard_len (the number of shards) or shard_index (the index of specified shard, and you can specify more than one) to mine. If both appears, shard_index takes precedence. `,
77
+
Usage: `Initialize shard data files (one per shard). Type 'es-node init --help' for more information.`,
78
+
UsageText: `Use --shard_len to create N sequential shards starting at 0, or --shard_index to list one or more explicit shard indices (repeatable). If both are supplied, --shard_index wins.`,
79
79
Flags: []cli.Flag{
80
80
cli.Uint64Flag{
81
81
Name: shardLenFlagName,
@@ -100,8 +100,8 @@ func main() {
100
100
{
101
101
Name: "sync",
102
102
Aliases: []string{"s"},
103
-
Usage: fmt.Sprintf("Download a blob from an RPC node and update it in local storage. Type 'es-node sync --help' for more information."),
104
-
UsageText: fmt.Sprintf("Sync local data specified by `%s` from RPC specified by `%s`", kvIndexFlagName, esRpcFlagName),
103
+
Usage: "Fetch a single blob (by KV index) from a remote EthStorage RPC and write it into local storage. Type 'es-node sync --help' for more information.",
0 commit comments