Re: [PATCH] birdc: Do not execute cmd on non interactive help request

2024-02-06 Thread Ondrej Zajicek
On Thu, Dec 28, 2023 at 12:37:26PM +0100, Inrin via Bird-users wrote: > Hi! > > A pal of mine noticed that `echo ? | birdc` executes the command > after showing it's help text is shown. I later confirmed that `birdcl` > in > comparison to `birdc` does not show this behaviour. > > Since this is

[PATCH] birdc: Do not execute cmd on non interactive help request

2023-12-28 Thread Inrin via Bird-users
Hi! A pal of mine noticed that `echo ? | birdc` executes the command after showing it's help text is shown. I later confirmed that `birdcl` in comparison to `birdc` does not show this behaviour. Since this is a non intuitive side effect on birdc's side, here a proposed patch to align birdc and