def arguments
      tailing_args = tailing_non_options

      if tailing_args.any? { |arg| arg[0,1] == '-' }
        tailing_args.unshift('--')
      end

      return leading_non_options + options + tailing_args
    end
def arguments
      tailing_args = tailing_non_options

      if tailing_args.any? { |arg| arg[0,1] == '-' }
        tailing_args.unshift('--')
      end

      return leading_non_options + options + tailing_args
    end
Generates the command-line arguments from the task.

 @return [Array]
   The command-line arguments compiled from the leading non-options,
   options and tailing non-options of the task and it's sub-tasks.