correct admin cmd getting version and bin name
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
af772b0240
commit
175e1c6453
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue