Commit 744f9f61 authored by Bram Schoenmakers's avatar Bram Schoenmakers

Change the prompt a bit.

parent 4615ce49
...@@ -52,7 +52,7 @@ class DCommand(Command): ...@@ -52,7 +52,7 @@ class DCommand(Command):
self.out("\n".join(pretty_print_list(p_todos, filters))) self.out("\n".join(pretty_print_list(p_todos, filters)))
def prompt_text(self): def prompt_text(self):
return "Yes or no? [n] " return "Yes or no? [y/N] "
def prefix(self): def prefix(self):
""" Prefix to use when printing a todo. """ """ Prefix to use when printing a todo. """
......
...@@ -25,7 +25,7 @@ class DeleteCommand(DCommand): ...@@ -25,7 +25,7 @@ class DeleteCommand(DCommand):
super(DeleteCommand, self).__init__(p_args, p_todolist, p_out, p_err, p_prompt) super(DeleteCommand, self).__init__(p_args, p_todolist, p_out, p_err, p_prompt)
def prompt_text(self): def prompt_text(self):
return "Also remove subtasks? [n] " return "Also remove subtasks? [y/N] "
def prefix(self): def prefix(self):
return "Removed: " return "Removed: "
......
...@@ -34,7 +34,7 @@ class DoCommand(DCommand): ...@@ -34,7 +34,7 @@ class DoCommand(DCommand):
self.out(pretty_print(new_todo, [self.todolist.pp_number()])) self.out(pretty_print(new_todo, [self.todolist.pp_number()]))
def prompt_text(self): def prompt_text(self):
return "Also mark subtasks as done? [n] " return "Also mark subtasks as done? [y/N] "
def prefix(self): def prefix(self):
return "Completed: " return "Completed: "
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment