correct admin cmd getting version and bin name

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry 2024-11-23 22:36:22 -05:00
parent af772b0240
commit 175e1c6453
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -9,7 +9,7 @@ use crate::{
};
#[derive(Debug, Parser)]
#[command(name = "admin", version = env!("CARGO_PKG_VERSION"))]
#[command(name = "conduwuit", version = conduit::version())]
pub(super) enum AdminCommand {
#[command(subcommand)]
/// - Commands for managing appservices

View file

@ -10,7 +10,7 @@ use conduit::{
/// Commandline arguments
#[derive(Parser, Debug)]
#[clap(version = conduit::version(), about, long_about = None)]
#[clap(version = conduit::version(), about, long_about = None, name = "conduwuit")]
pub(crate) struct Args {
#[arg(short, long)]
/// Path to the config TOML file (optional)