Skip to content

Commit

Permalink
Merge pull request #2582 from ipfs/feature/refs-defaults
Browse files Browse the repository at this point in the history
Added default values to refs
  • Loading branch information
whyrusleeping committed Apr 27, 2016
2 parents 9e3b5c3 + 53c05ff commit 1676d0c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/commands/refs.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ Note: List all references recursively by using the flag '-r'.
},
Options: []cmds.Option{
cmds.StringOption("format", "Emit edges with given format. Available tokens: <src> <dst> <linkname>."),
cmds.BoolOption("edges", "e", "Emit edge format: `<from> -> <to>`."),
cmds.BoolOption("unique", "u", "Omit duplicate refs from output."),
cmds.BoolOption("recursive", "r", "Recursively list links of child nodes."),
cmds.BoolOption("edges", "e", "Emit edge format: `<from> -> <to>`.").Default(false),
cmds.BoolOption("unique", "u", "Omit duplicate refs from output.").Default(false),
cmds.BoolOption("recursive", "r", "Recursively list links of child nodes.").Default(false),
},
Run: func(req cmds.Request, res cmds.Response) {
ctx := req.Context()
Expand Down

0 comments on commit 1676d0c

Please sign in to comment.