proxmox/proxmox-router/src
Wolfgang Bumiller 5eb7cbd250 cli: deal with commands without positional args
When reaching the final command we relied on the positional parameters
"ending" the global option parsing. This means we did not get global
options at the end, and failed with "unknown option" instead.
Fix this by simply retaining unknown options in that case and not
stopping at positional parameters.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2024-07-22 09:03:56 +02:00
..
cli cli: deal with commands without positional args 2024-07-22 09:03:56 +02:00
error.rs router: re-export HttpError from proxmox-http-error 2023-07-28 10:47:05 +02:00
format.rs fix typos in rust api documentation 2024-07-22 08:49:42 +02:00
lib.rs tree-wide: enable doc_cfg and doc_auto_cfg for docs 2024-07-02 11:59:53 +02:00
permission.rs router: format doc comment, use full text width 2022-05-05 08:54:14 +02:00
router.rs router: make hyper/http optional 2022-09-07 09:17:45 +02:00
rpc_environment.rs router: AsAny: add as_any_mut 2024-07-17 13:43:37 +02:00
serializable_return.rs promxox-router: add SerializableReturn Trait 2022-04-12 14:23:05 +02:00