diff --git a/core/commands/refs.go b/core/commands/refs.go index 4c637fd22dc..1aa2ab7f924 100644 --- a/core/commands/refs.go +++ b/core/commands/refs.go @@ -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: ."), - cmds.BoolOption("edges", "e", "Emit edge format: ` -> `."), - 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: ` -> `.").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()