Skip to content

Commit 016c2a7

Browse files
authored
Merge pull request #10650 from ipfs/chore/config-cmd-help
Add example of setting array to config command help
2 parents 9425421 + a4d13e3 commit 016c2a7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

core/commands/config.go

+5
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,11 @@ Get the value of the 'Datastore.Path' key:
5555
Set the value of the 'Datastore.Path' key:
5656
5757
$ ipfs config Datastore.Path ~/.ipfs/datastore
58+
59+
Set multiple values in the 'Addresses.AppendAnnounce' array:
60+
61+
$ ipfs config Addresses.AppendAnnounce --json \
62+
'["/dns4/a.example.com/tcp/4001", "/dns4/b.example.com/tcp/4002"]'
5863
`,
5964
},
6065
Subcommands: map[string]*cmds.Command{

0 commit comments

Comments
 (0)