calendar: drop unnecessary --no-interactive flag from todo edit
todoman skips interactive mode automatically when changes are provided.
This commit is contained in:
@@ -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}")
|
||||||
|
|||||||
Reference in New Issue
Block a user