We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87e6344 commit 2807fa2Copy full SHA for 2807fa2
crates/q_cli/src/cli/mod.rs
@@ -354,7 +354,7 @@ impl Cli {
354
CliRootCommands::Dashboard => launch_dashboard(false).await,
355
CliRootCommands::Chat { args } => Self::execute_chat("chat", Some(args), true).await,
356
CliRootCommands::Mcp { mut args } => {
357
- if args.is_empty() || matches!(args.get(0).map(|s| s.as_str()), Some("--help" | "-h")) {
+ if args.is_empty() || matches!(args.first().map(|s| s.as_str()), Some("--help" | "-h")) {
358
args = vec!["--help".into()];
359
}
360
Self::execute_chat("mcp", Some(args), true).await
0 commit comments