Skip to content

Commit

Permalink
fixed dag stat command default from true to true
Browse files Browse the repository at this point in the history
  • Loading branch information
aschmahmann committed Aug 17, 2020
1 parent 87ae17d commit 640ed77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/commands/dag/dag.go
Original file line number Diff line number Diff line change
Expand Up @@ -695,7 +695,7 @@ Note: This command skips duplicate blocks in reporting both size and the number
cmds.StringArg("root", true, false, "CID of a DAG root to get statistics for").EnableStdin(),
},
Options: []cmds.Option{
cmds.BoolOption(progressOptionName, "p", "Return progressive data while reading through the DAG").WithDefault("true"),
cmds.BoolOption(progressOptionName, "p", "Return progressive data while reading through the DAG").WithDefault(true),
},
Run: func(req *cmds.Request, res cmds.ResponseEmitter, env cmds.Environment) error {
progressive := req.Options[progressOptionName].(bool)
Expand Down

0 comments on commit 640ed77

Please sign in to comment.