]> git.proxmox.com Git - pmg-log-tracker.git/commit
update clap from 2 to 3
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 24 Nov 2022 17:47:03 +0000 (18:47 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 24 Nov 2022 17:47:12 +0000 (18:47 +0100)
commit3e6542d819fd550e675ee0b59d7b5de7b361677a
tree7fe3428b864b7699d483da36140139c9c8588f8f
parent38ad688ccde42d991c7c3b6f8828b39ef0e80b80
update clap from 2 to 3

only relevant change is the assertion that multiple(true) takes a
value, so we need to change to the new actions system.

Note that with 3.2.20+ we could switch to args.get_count("verbose")
saving us the unwrap/dereference dance.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Cargo.toml
debian/control
src/main.rs