Procházet zdrojové kódy

bin/tau: fix deprecated from_occurrences to action = Count

Dastan-glitch před 3 roky
rodič
revize
db071de0e9
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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,