mirror of
https://github.com/project-zot/zot.git
synced 2026-06-17 12:58:02 +08:00
ddb6279a25
Make `zli config` and config subcommands show usage/help when invoked with missing required args, instead of Cobra’s generic “accepts N arg(s)” errors. Example: - before: `zli config add` -> `Error: accepts 2 arg(s), received 0` - after: `zli config add` prints `zli config add <config-name> <url>` usage/help1~fix(zli config): print help for missing args Signed-off-by: Andrei Aaron <andreifdaaron@gmail.com>