mirror of
https://gitlab.labs.nic.cz/labs/bird.git
synced 2024-05-11 16:54:54 +00:00
The help command triggered by '?' keeps the message in readline buffer, so it could be edited. For noninteractive shell it leads to an unexpected side effect that `echo <cmd> ? | birdc` executes the command <cmd> after showing its help. Avoid this by clearing the readline buffer in such case.