From 2f7cc9c1503e70783e29ceef3528e41379ca618d Mon Sep 17 00:00:00 2001 From: Shea Frembling Date: Sun, 22 Mar 2026 21:22:03 -0500 Subject: [PATCH] Fix completions for utils and add description --- Cargo.toml | 1 + src/app.rs | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index f9dc473..b098efb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,6 +2,7 @@ name = "pallet" version = "1.0.3" edition = "2024" +description = "A project manager and build system for C inspired by Rust's Cargo" [dependencies] clap = { version = "4.6.0", features = ["derive"] } diff --git a/src/app.rs b/src/app.rs index 02c8f36..61d8391 100644 --- a/src/app.rs +++ b/src/app.rs @@ -12,7 +12,7 @@ const MAIN_C: &str = include_str!("templates/main.c"); const GITIGNORE: &str = "target/"; #[derive(clap::Parser)] -#[clap(version)] +#[clap(version, about)] pub struct App { #[clap(subcommand)] command: Subcommand, @@ -54,6 +54,7 @@ enum UtilSubcommand { /// Generate shell completions Completions { /// The shell to generate completions for + #[arg(value_enum, long, short)] shell: ShellCompletions, }, }