Re: [libvirt] Remove OPTION section in output of 'virsh help command' if no option exists.

2013-05-22 Thread Eric Blake
On 05/21/2013 09:15 PM, Zhang Xiaohe wrote: Don't print 'OPTION' if there's no options. Just behaves as DESCRIPTION does. This mostly affects 'interface' command group. Signed-off-by: Zhang Xiaohe zhan...@cn.fujitsu.com Reported-by: Li Yang liyang.f...@cn.fujitsu.com --- tools/virsh.c |

Re: [libvirt] Remove OPTION section in output of 'virsh help command' if no option exists.

2013-05-22 Thread Zhang Xiaohe
于 2013年05月23日 06:19, Eric Blake 写道: On 05/21/2013 09:15 PM, Zhang Xiaohe wrote: Don't print 'OPTION' if there's no options. Just behaves as DESCRIPTION does. This mostly affects 'interface' command group. Signed-off-by: Zhang Xiaohezhan...@cn.fujitsu.com Reported-by: Li

[libvirt] Remove OPTION section in output of 'virsh help command' if no option exists.

2013-05-21 Thread Zhang Xiaohe
Don't print 'OPTION' if there's no options. Just behaves as DESCRIPTION does. This mostly affects 'interface' command group. Signed-off-by: Zhang Xiaohe zhan...@cn.fujitsu.com Reported-by: Li Yang liyang.f...@cn.fujitsu.com --- tools/virsh.c |4 +++- 1 files changed, 3 insertions(+), 1