You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the todo.txt-cli version 2.10 on Windows (under a Git Bash shell), both the help command and the -h flag add an empty task at the end of the todo.txt file.
Example:
$ tail -2 $TODO_FILE
2014-01-02 Test task 1
2014-01-02 Test task 2
$ t help# (help output ommited)
$ tail -2 $TODO_FILE
2014-01-02 Test task #2
2014-01-02
An empty task with just today's date, 2014-01-02 is added at the end of the todo.txt file.
t -h also adds an empty task.
I know this is rather a Windows/Git Bash issue, but I wonder if the same happens on Cygwin, and if there's something that can be done in the script to avoid this.
The text was updated successfully, but these errors were encountered:
Nevermind. Turns out the problem is the add command from the todo.txt-tools package. It is not handling the help correctly, and when invoked without arguments (which is done by the help command over each custom action) it adds an empty task.
The help command passes a single usage argument, which add-ons indeed must handle (and most do, by convention). Otherwise, your analysis is fully correct. Thanks for reporting this!
Using the todo.txt-cli version 2.10 on Windows (under a Git Bash shell), both the
help
command and the-h
flag add an empty task at the end of the todo.txt file.Example:
An empty task with just today's date,
2014-01-02
is added at the end of the todo.txt file.t -h
also adds an empty task.I know this is rather a Windows/Git Bash issue, but I wonder if the same happens on Cygwin, and if there's something that can be done in the script to avoid this.
The text was updated successfully, but these errors were encountered: