Skip to content

Commit

Permalink
Update cmd/celestia-appd/cmd/addrbook.go
Browse files Browse the repository at this point in the history
Co-authored-by: Sanaz Taheri <35961250+staheri14@users.noreply.github.com>
  • Loading branch information
rootulp and staheri14 committed Oct 20, 2023
1 parent dc49124 commit f51ece6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/celestia-appd/cmd/addrbook.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ func addrbookCommand() *cobra.Command {
Short: "Convert a list of peers into an address book",
Long: "Convert a list of peers into an address book.\n" +
"The first argument (peers.txt) should contain a new line separated list of peers. The format for a peer is `id@ip:port` or `id@domain:port`.\n" +
"The second argument (addrbook.json) should be the output filename. The address book is saved to the output file in JSON format.\n",
"The second argument (addrbook.json) should contain the complete file path, including both the directory path and the desired output file name, in the following format: `path/to/filename`. The address book is saved to the output file in JSON format.\n",
Args: cobra.ExactArgs(2),
RunE: func(cmd *cobra.Command, args []string) error {
inputFile := args[0]
Expand Down

0 comments on commit f51ece6

Please sign in to comment.