diff options
author | Rong Tao <rongtao@cestc.cn> | 2023-03-09 09:42:50 +0100 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2023-04-21 09:02:30 +0200 |
commit | 6b27cd84a7917b995f66c052fd3453fdbd6e3d70 (patch) | |
tree | 8e9b4ace806701f893ba8bdcd025ff690cf54191 /drivers/virtio | |
parent | tools/virtio: virtio_test: Fix indentation (diff) | |
download | linux-6b27cd84a7917b995f66c052fd3453fdbd6e3d70.tar.xz linux-6b27cd84a7917b995f66c052fd3453fdbd6e3d70.zip |
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: Rong Tao <rongtao@cestc.cn>
Message-Id: <tencent_822CEBEB925205EA1573541CD1C2604F4805@qq.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'drivers/virtio')
0 files changed, 0 insertions, 0 deletions