Skip to content

Commit 2807fa2

Browse files
committed
ci
1 parent 87e6344 commit 2807fa2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/q_cli/src/cli/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ impl Cli {
354354
CliRootCommands::Dashboard => launch_dashboard(false).await,
355355
CliRootCommands::Chat { args } => Self::execute_chat("chat", Some(args), true).await,
356356
CliRootCommands::Mcp { mut args } => {
357-
if args.is_empty() || matches!(args.get(0).map(|s| s.as_str()), Some("--help" | "-h")) {
357+
if args.is_empty() || matches!(args.first().map(|s| s.as_str()), Some("--help" | "-h")) {
358358
args = vec!["--help".into()];
359359
}
360360
Self::execute_chat("mcp", Some(args), true).await

0 commit comments

Comments
 (0)