Nir Soffer c086425f8d Fix ovirt-imageioctl without arguments
In the same way we do in ovirt-img - running without arguments is the
same as -h, --help.

Example run:

    $ ./ovirt-imageioctl
    usage: ovirt-imageioctl [-h] {add-ticket,show-ticket,mod-ticket,del-ticket,start-profile,stop-profile} ...

    Control the ovirt-imageio service

    options:
      -h, --help            show this help message and exit

    commands:
      {add-ticket,show-ticket,mod-ticket,del-ticket,start-profile,stop-profile}
        add-ticket          Add a ticket.
        show-ticket         Show a ticket status.
        mod-ticket          Modify a ticket.
        del-ticket          Delete a ticket.
        start-profile       Start server profiling
        stop-profile        Stop server profiling

Reported in:
https://github.com/oVirt/ovirt-imageio/pull/194#issuecomment-1463404284

Signed-off-by: Nir Soffer <nsoffer@redhat.com>
2023-03-15 10:55:55 +01:00
..
2022-10-18 13:04:20 +02:00
2023-03-15 10:55:55 +01:00