calendar: drop unnecessary --no-interactive flag from todo edit

todoman skips interactive mode automatically when changes are provided.
This commit is contained in:
Yanxin Lu
2026-03-24 21:58:52 -07:00
parent 734790a599
commit 810a9923f9

View File

@@ -645,8 +645,7 @@ def cmd_todo_edit(args):
print("Nothing to change. Specify at least one of --due, --priority.") print("Nothing to change. Specify at least one of --due, --priority.")
return return
# Run todoman edit (non-interactive) _run_todoman("edit", str(todo_id), *todo_args)
_run_todoman("edit", str(todo_id), "--no-interactive", *todo_args)
print(f"Updated todo: {matched.get('summary')}") print(f"Updated todo: {matched.get('summary')}")
for c in changes: for c in changes:
print(f" {c}") print(f" {c}")