[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Request for comments: help texts (was: Re: Inconsistent treatment of
From: |
Olaf Till |
Subject: |
Re: Request for comments: help texts (was: Re: Inconsistent treatment of scripts by the help system?) |
Date: |
Fri, 26 Feb 2010 09:21:29 +0100 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
On Thu, Feb 25, 2010 at 03:57:57PM +0100, David Grundberg wrote:
> Function declarations inside script files: Theoretically we could
> make 'help f' return "help for f", but I don't think it is worth
> supporting. Therefore:
>
> help filename: undocumented
> help f: undocumented
Maybe your changes won't touch this at all, but after the script is
run so that these functions are defined as "command-line function",
their individual help-texts should be available provided they were
written as the first block _within_ the function body. This seems to
be the way functions defined on the command line are now treated.
Olaf