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 var v interface{} = root
switch rootDisplay { switch rootDisplay {
case DUMP_ALL:
case DUMP_TODO: case DUMP_TODO:
v = root.Todo v = root.Todo
case DUMP_SCHEDULED: case DUMP_SCHEDULED:
v = root.Scheduled v = root.Scheduled
case DUMP_DONE: case DUMP_DONE:
v = root.Done v = root.Done
default:
} }
return yaml.NewEncoder(writer).Encode(v) return yaml.NewEncoder(writer).Encode(v)