From bf9d7d750eb785b3317157ba7fb5455e1e57dd61 Mon Sep 17 00:00:00 2001 From: Alex Clarke Date: Thu, 7 May 2026 14:08:54 -0600 Subject: [PATCH] fix: a bug in the dynamic completions because the crate name is loki-ai but the binary is named loki --- src/cli/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cli/mod.rs b/src/cli/mod.rs index 2fbe62b..1b90753 100644 --- a/src/cli/mod.rs +++ b/src/cli/mod.rs @@ -6,7 +6,7 @@ use crate::cli::completer::{ }; use anyhow::{Context, Result}; use clap::ValueHint; -use clap::{Parser, crate_authors, crate_description, crate_name, crate_version}; +use clap::{Parser, crate_authors, crate_description, crate_version}; use clap_complete::ArgValueCompleter; use is_terminal::IsTerminal; use std::io::{Read, stdin}; @@ -14,7 +14,7 @@ use std::io::{Read, stdin}; #[derive(Parser, Debug)] #[command(author, version, about, long_about = None)] #[command( - name = crate_name!(), + name = "loki", author = crate_authors!(), version = crate_version!(), about = crate_description!(),