Bug #382

task annotate doesn't complain when a task id is omitted

Added by Cory Donnelly 156 days ago. Updated 155 days ago.

Status:Closed Start:02/23/2010
Priority:Low Due date:
To:Federico Hernandez % Done:

0%

Category:core Spent time: -
Target version:1.9.1 - Kuwagata

Description

Task v1.9.0 doesn't complain when a user omits a taskid but includes an annotation:

$ task annotate foo

$ task list | grep foo

annotate correctly notices when the user omits an annotation but includes a task id:

$ task annotate 19
Cannot apply a blank annotation.

History

Updated by Federico Hernandez 155 days ago

  • Status changed from New to Closed
  • To changed from Paul Beckingham to Federico Hernandez
  • Target version set to 1.9.1 - Kuwagata

Thank you Cory.

[ultrafredde@cottonwood ~]$ task rc:~/.tasktestrc list 
Using alternate .taskrc file /home/ultrafredde/.tasktestrc

ID Due                  Countdown Project Description    
 1 Sun 14 Feb 2010 (06)    9 days         +ONE           
                                          100125 IPSUME-3
 2 Mon 15 Feb 2010 (07)    8 days         +TWO           
                                          100125 LOREM-2 
 3 Tue 16 Feb 2010 (07)    7 days         THREE          
                                          100125 DOLOR-1 
 4                                        FOO            

4 tasks
[ultrafredde@cottonwood ~]$ task rc:~/.tasktestrc annotate BAR
Using alternate .taskrc file /home/ultrafredde/.tasktestrc
ID needed to apply an annotation.

Also available in: Atom PDF