diff options
author | Jose M. Guisado <jguisado@soleta.eu> | 2023-10-06 10:57:53 +0200 |
---|---|---|
committer | Jose M. Guisado <jguisado@soleta.eu> | 2023-10-06 11:30:43 +0200 |
commit | d2596294456da9f5ffa809a67a2d68fa21ce1fb3 (patch) | |
tree | ba2231fa68b458b56a9a7d3bd832dd4fb3cc38bc /examples/poweroff.cron | |
parent | 35b4b1422a97dafd6c8ebb364409a4fcab7535ab (diff) |
cli: better error handling for subcommand args
Some subcommands need following arguments (e.g.: ogcli list ...), check
if following arguments are present. If no required following argument is
detected then print an error message, show help and exit with status
code 1.
Diffstat (limited to 'examples/poweroff.cron')
0 files changed, 0 insertions, 0 deletions