From d67f1cfd3b772a7858512a24261a0725e1d80e1c Mon Sep 17 00:00:00 2001 From: "a.stevan" <antoine.stevan@isae-supaero.fr> Date: Thu, 3 Apr 2025 09:35:01 +0200 Subject: [PATCH] remove --debug from make.rs --- make.rs | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/make.rs b/make.rs index 9f7da0c3..bdb2b4f9 100755 --- a/make.rs +++ b/make.rs @@ -11,10 +11,6 @@ use clap::{Parser, Subcommand}; #[derive(Parser)] #[command(version, about, long_about = None)] struct Cli { - /// Turn debugging information on - #[arg(short, long, action = clap::ArgAction::Count)] - debug: u8, - #[command(subcommand)] command: Option<Commands>, } @@ -60,13 +56,6 @@ enum Commands { fn main() { let cli = Cli::parse(); - match cli.debug { - 0 => println!("Debug mode is off"), - 1 => println!("Debug mode is kind of on"), - 2 => println!("Debug mode is on"), - _ => println!("Don't be crazy"), - } - match &cli.command { Some(Commands::Fmt { check }) => { if *check { -- GitLab