Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | objects: add missing prog parameter in subcommands | Jose M. Guisado | 2023-10-05 | 1 | -1/+1 |
| | | | | | | | | | | | | | The specific subcommand name is missing in some of the subcommands help message. For example: $ ogcli list hardware usage: ogcli [-h] --client-ip CLIENT_IP ogcli: error: the following arguments are required: --client-ip Fix this by adding the missing prog= parameter so argparse use this instead of argv[0]. If no prog parameter is specified then argv[0] is printed (i.e: "ogcli"). | ||||
* | send: add send reboot | Jose M. Guisado | 2022-05-25 | 1 | -0/+57 |
Takes usual client options (--client-ip, --room-id, --center-id) Example: > ogcli send reboot --client-ip 192.168.56.11 |