use default for effectively default

master
Bel LaPointe 2023-11-06 13:12:09 -07:00
parent f2e3e6f505
commit 3ba3b78afc
1 changed files with 1 additions and 1 deletions

View File

@ -31,13 +31,13 @@ func _dump(writer io.Writer, filepaths []string, tags []string, search, rootDisp
var v interface{} = root
switch rootDisplay {
case DUMP_ALL:
case DUMP_TODO:
v = root.Todo
case DUMP_SCHEDULED:
v = root.Scheduled
case DUMP_DONE:
v = root.Done
default:
}
return yaml.NewEncoder(writer).Encode(v)