[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Its Me

5/2/2006 6:31:00 PM

Should rake -T list all rake tasks, even those without a desc?


3 Answers

Ross Bamford

5/2/2006 6:47:00 PM

0

On Tue, 02 May 2006 19:31:09 +0100, itsme213 <itsme213@hotmail.com> wrote:

> Should rake -T list all rake tasks, even those without a desc?
>
>

I don't think so..:

$ rake --help

[..snipped..]

--tasks (-T)
Display the tasks (matching optional PATTERN) with descriptions,
then exit.
^^^^^^^^^^^^^^^^^

--
Ross Bamford - rosco@roscopeco.remove.co.uk

Its Me

5/2/2006 7:35:00 PM

0


"Ross Bamford" <rosco@roscopeco.remove.co.uk> wrote in message

> On Tue, 02 May 2006 19:31:09 +0100, itsme213 <itsme213@hotmail.com> wrote:
>
>> Should rake -T list all rake tasks, even those without a desc?
>>
>>
>
> I don't think so..:
>
> $ rake --help
>
> [..snipped..]
>
> --tasks (-T)
> Display the tasks (matching optional PATTERN) with descriptions,
> then exit.
> ^^^^^^^^^^^^^^^^^

Even if I provide no PATTERN I still don't see any description-less tasks. I
think these should be displayed with empty descriptions.


Ross Bamford

5/2/2006 9:43:00 PM

0

On Tue, 02 May 2006 20:34:59 +0100, itsme213 <itsme213@hotmail.com> wrote:
> "Ross Bamford" <rosco@roscopeco.remove.co.uk> wrote in message
>> On Tue, 02 May 2006 19:31:09 +0100, itsme213 <itsme213@hotmail.com>
>> wrote:
>>
>>> Should rake -T list all rake tasks, even those without a desc?
>>
>> I don't think so..:
>>
>> $ rake --help
>>
>> [..snipped..]
>>
>> --tasks (-T)
>> Display the tasks (matching optional PATTERN) with descriptions,
>> then exit.
>> ^^^^^^^^^^^^^^^^^
> Even if I provide no PATTERN I still don't see any description-less
> tasks. I
> think these should be displayed with empty descriptions.
>

I think it means 'display the tasks that have descriptions, optionally
filtered by the specified pattern' rather than 'matching the optional
pattern to the task descriptions'.

Undocumented tasks tend to be internal tasks (pre-something, or
init-something, or whatever) that you don't want users to invoke directly
- I think they're excluded from the task list deliberately.

--
Ross Bamford - rosco@roscopeco.remove.co.uk