Skip to content

Commit

Permalink
Add port override example
Browse files Browse the repository at this point in the history
  • Loading branch information
cmmarslender committed Dec 10, 2024
1 parent be764aa commit 90e03c9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cmd/config/addtrustedpeer.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@ var (
var addTrustedPeerCmd = &cobra.Command{
Use: "add-trusted-peer",
Short: "Adds a trusted peer to the config file",
Example: `chia-tools config add-trusted-peer 1.2.3.4`,
Example: `chia-tools config add-trusted-peer 1.2.3.4
# The following version will also override the port to use when connecting to this peer
chia-tools config add-trusted-peer 1.2.3.4 18444`,
Run: func(cmd *cobra.Command, args []string) {
chiaRoot, err := config.GetChiaRootPath()
if err != nil {
Expand Down

0 comments on commit 90e03c9

Please sign in to comment.