@cryptotaxi247 / kubo / commits / f144a8424

Add default to recursive option

License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>

Jakub Sztandera committed Jun 3, 2016 at 15:25 UTC f144a8424717bc27719057f8dc12a7a54ff3f108
1 file changed +1 -1
commands/option.go
+1 -1
@@ -189,7 +189,7 @@ const (
189
190 // options that are used by this package
191 var OptionEncodingType = StringOption(EncLong, EncShort, "The encoding type the output should be encoded with (json, xml, or text)")
192 -var OptionRecursivePath = BoolOption(RecLong, RecShort, "Add directory paths recursively")
192 +var OptionRecursivePath = BoolOption(RecLong, RecShort, "Add directory paths recursively").Default(false)
193 var OptionStreamChannels = BoolOption(ChanOpt, "Stream channel output")
194 var OptionTimeout = StringOption(TimeoutOpt, "set a global timeout on the command")
195