On Sun, Nov 08, 2020 at 10:14:08PM +0100, Petr Machata wrote: > The value of a number of booleans is shown as "on" and "off" in the plain > output, and as an actual boolean in JSON mode. Add a function that does > that. > > RDMA tool already uses a function named print_on_off(). This function > always shows "on" and "off", even in JSON mode. Since there are probably > very few if any consumers of this interface at this point, migrate it to > the new central print_on_off() as well. > > Signed-off-by: Petr Machata <m...@pmachata.org> > ---
Thanks, Reviewed-by: Leon Romanovsky <leo...@nvidia.com>