|Subject:||Re: htags could use support for multiple --call-tree --callee-tree options|
|Date:||Sun, 10 Apr 2016 10:44:45 +0900|
On Sat, Apr 9, 2016 at 4:16 AM, Shigio YAMAGUCHI <address@hidden> wrote:
>> htags could use support for multiple --call-tree --callee-tree options
>> so for example:
>> htags --suggest --call-tree=foo_prog,foo_call_tree
> I agree with you. Is this also OK?
> htags --call-tree=foo_prog --call-tree=foo_call_tree \
> --call-tree=bar_prog --call-tree=bar_call_tree
It would work but is a little odd. So was my proposed syntax but
maybe not quite so much since the option argument is obviously a
2-tuple rather than having different meanings depending on option
order (assuming I understand correctly what you have in mind).
Perhaps better than either would be to have
--call-tree=foo_call_tree,bar_call_tree. The existing behavior could
be preserved when the --call-tree array has exactly one value,
otherwise --call-tree-programs would be required. This way everything
has an explicit option name and user can use array option arguments or
repeated options as they wish.
|[Prev in Thread]||Current Thread||[Next in Thread]|