Commit 6b27cd84 authored by Rong Tao's avatar Rong Tao Committed by Michael S. Tsirkin
Browse files

tools/virtio: virtio_test -h,--help should return directly



When we get help information, we should return directly, and we should not
execute test cases. Move the exit() directly into the help() function and
remove it from case '?'.

Signed-off-by: default avatarRong Tao <rongtao@cestc.cn>
Message-Id: <tencent_822CEBEB925205EA1573541CD1C2604F4805@qq.com>
Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
parent 9b2b3de6
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment