Skip to content

Commit fa21fc3

Browse files
committed
fix: docs
1 parent b2c9c28 commit fa21fc3

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

cmd/cdk/cdk.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ var (
103103
var CDKCmd = &cobra.Command{
104104
Use: "cdk",
105105
Short: "Utilities for interacting with CDK networks.",
106-
Long: "Basic utility commands for interacting with the cdk contracts",
106+
Long: "Basic utility commands for interacting with the cdk contracts.",
107107
PersistentPreRunE: func(cmd *cobra.Command, args []string) (err error) {
108108
cdkInputArgs.rpcURL, err = flag.GetRPCURL(cmd)
109109
if err != nil {

cmd/dumpblocks/dumpblocks.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ import (
1212

1313
_ "embed"
1414

15+
"github.com/0xPolygon/polygon-cli/flag"
1516
"github.com/0xPolygon/polygon-cli/proto/gen/pb"
1617
"github.com/0xPolygon/polygon-cli/rpctypes"
1718
"github.com/0xPolygon/polygon-cli/util"
18-
"github.com/0xPolygon/polygon-cli/flag"
1919
ethrpc "github.com/ethereum/go-ethereum/rpc"
2020
"github.com/rs/zerolog/log"
2121
"github.com/spf13/cobra"
@@ -193,7 +193,7 @@ func init() {
193193
f.StringVarP(&inputDumpblocks.Filename, "filename", "f", "", "where to write the output to (default stdout)")
194194
f.StringVarP(&inputDumpblocks.Mode, "mode", "m", "json", "the output format [json, proto]")
195195
f.Uint64VarP(&inputDumpblocks.BatchSize, "batch-size", "b", 150, "batch size for requests (most providers cap at 1000)")
196-
f.StringVarP(&inputDumpblocks.FilterStr, "filter", "F", "{}", "filter output based on tx to and from, not setting a filter means all are allowed")
196+
f.StringVarP(&inputDumpblocks.FilterStr, "filter", "F", "{}", "filter output based on tx to and from (not setting a filter means all are allowed)")
197197
}
198198

199199
// writeResponses writes the data to either stdout or a file if one is provided.

doc/polycli_cdk.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Utilities for interacting with CDK networks.
1515

1616
## Usage
1717

18-
Basic utility commands for interacting with the cdk contracts
18+
Basic utility commands for interacting with the cdk contracts.
1919
## Flags
2020

2121
```bash

doc/polycli_dumpblocks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ To solve this, add the unknown fields to the `.proto` files and recompile them (
7979
-B, --dump-blocks dump blocks to output (default true)
8080
--dump-receipts dump receipts to output (default true)
8181
-f, --filename string where to write the output to (default stdout)
82-
-F, --filter string filter output based on tx to and from, not setting a filter means all are allowed (default "{}")
82+
-F, --filter string filter output based on tx to and from (not setting a filter means all are allowed) (default "{}")
8383
-h, --help help for dumpblocks
8484
-m, --mode string the output format [json, proto] (default "json")
8585
-r, --rpc-url string the RPC endpoint URL (default "http://localhost:8545")

0 commit comments

Comments
 (0)