diff options
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/hcl/commands.rb | 2 | ||||
| -rw-r--r-- | lib/hcl/utility.rb | 4 | 
2 files changed, 3 insertions, 3 deletions
| diff --git a/lib/hcl/commands.rb b/lib/hcl/commands.rb index 3bdfb66..38f7ab1 100644 --- a/lib/hcl/commands.rb +++ b/lib/hcl/commands.rb @@ -102,7 +102,7 @@ module HCl      def resume *args        ident = get_ident args        entry = if ident -          task_ids = get_task_ids ident +          task_ids = get_task_ids ident, args            DayEntry.last_by_task *task_ids          else            DayEntry.last diff --git a/lib/hcl/utility.rb b/lib/hcl/utility.rb index c724846..8026069 100644 --- a/lib/hcl/utility.rb +++ b/lib/hcl/utility.rb @@ -1,6 +1,6 @@  module HCl    module Utility -    def get_task_ids ident +    def get_task_ids ident, args        if @settings.key? "task.#{ident}"          @settings["task.#{ident}"].split(/\s+/)        else @@ -19,7 +19,7 @@ module HCl      end      def get_task args -      Task.find *get_task_ids(get_ident(args)) +      Task.find *get_task_ids(get_ident(args), args)      end      def get_starting_time args | 
