diff --git a/cli/src/commands/mod.rs b/cli/src/commands/mod.rs index ad482711..90e5f75e 100644 --- a/cli/src/commands/mod.rs +++ b/cli/src/commands/mod.rs @@ -50,7 +50,7 @@ pub struct ClapApp { pub report: bool, /// Use the Canary channel API - #[arg(long, global = true)] + #[arg(long, global = true, default_value_t = true)] canary: bool, } @@ -115,6 +115,7 @@ impl ClapApp { } else { ApiChannel::Stable }; + debug!("API channel: {:?}", channel); let command = match &self.command_group {