Fix some issues with clap using the cli crate's versioning.

This commit is contained in:
Cutieguwu
2026-02-15 20:16:32 -05:00
parent 17f7b9dca9
commit e1827b13f4
2 changed files with 2 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
[package]
name = "cli"
version = "0.2.0"
version = "0.2.1"
edition.workspace = true
license.workspace = true

View File

@@ -6,8 +6,7 @@ use clap::{ArgAction, Args, Parser, Subcommand, ValueEnum};
pub static CLI_ARGS: LazyLock<CliArgs> = LazyLock::new(|| CliArgs::parse());
#[derive(Debug, Parser)]
#[clap(author, version)]
#[command(help_template = "{author-section}\n{usage-heading} {usage}\n\n{all-args}")]
#[clap(name = "Raven", version = "0.2.0")]
pub struct CliArgs {
#[command(subcommand)]
pub command: Command,