mirror of
https://github.com/Blah-IM/blahrs.git
synced 2025-07-13 17:25:34 +00:00
build: validate CFG_SRC_URL and simplify CFG_RELEASE handling
This commit is contained in:
parent
fa14844d0d
commit
fac146e859
6 changed files with 32 additions and 12 deletions
|
@ -10,7 +10,7 @@ use tokio::signal::unix::{signal, SignalKind};
|
|||
|
||||
/// Blah Chat Server
|
||||
#[derive(Debug, clap::Parser)]
|
||||
#[clap(about, version = option_env!("CFG_RELEASE").unwrap_or(env!("CARGO_PKG_VERSION")))]
|
||||
#[clap(about, version = env!("CFG_RELEASE"))]
|
||||
enum Cli {
|
||||
/// Run the server with given configuration.
|
||||
Serve {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue