diff options
Diffstat (limited to 'todo.go')
| -rw-r--r-- | todo.go | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -110,6 +110,10 @@ func usage() { func routeInput(command string, input string) { app := todolist.NewApp() + if app == nil { + return + } + switch command { case "l", "list", "agenda": app.ListTodos(input) |
