Re: [RFC] 09/10 Add "continue --all"

Daniel Jacobowitz
2008-05-09T12:20:26Z

On Fri, May 09, 2008 at 01:08:28PM +0100, Pedro Alves wrote:
> - Keep throwing an error with "continue" on running thread, and
> really add "continue -a,--all,?" ?

If you like the all prefix, then we can keep it even if it isn't
strictly an alias to thread apply all. One way would be to register
subcommands of "thread apply all" just as all is registered as a
subcommand of thread; the help is not very clear about this but you
can specify "thread apply 1", too. Another way would be to allow
commands to internally register a special function to be called under
apply-to-all.

If you don't like the all prefix then we can go back to continue
--all, or even just continue all. Continue takes a numeric argument
and all will not conflict.

--
Daniel Jacobowitz
CodeSourcery