Explorar o código

bin/tau: fix deprecated from_occurrences to action = Count

Dastan-glitch %!s(int64=3) %!d(string=hai) anos
pai
achega
db071de0e9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      bin/tau/tau-cli/src/main.rs

+ 1 - 1
bin/tau/tau-cli/src/main.rs

@@ -48,7 +48,7 @@ const DEFAULT_PATH: &str = "~/tau_exported_tasks";
 #[clap(name = "tau", version)]
 #[clap(subcommand_precedence_over_arg = true)]
 struct Args {
-    #[clap(short, parse(from_occurrences))]
+    #[arg(short, action = clap::ArgAction::Count)]
     /// Increase verbosity (-vvv supported)
     verbose: u8,