mirror of https://github.com/ospab/ostp.git
Fix: Eliminate CLI argument short-flag collision for -c mapping to both config and count
This commit is contained in:
parent
bbe5a88f36
commit
899dd3aed2
|
|
@ -8,7 +8,7 @@ use std::path::PathBuf;
|
|||
#[command(author, version, about = "OSTP Core - Ospab Stealth Transport Protocol", long_about = None)]
|
||||
struct Args {
|
||||
/// Path to the JSON configuration file
|
||||
#[arg(short, long, default_value = "config.json")]
|
||||
#[arg(long, default_value = "config.json")]
|
||||
config: PathBuf,
|
||||
|
||||
/// Optional mode to initialize the config for (client or server)
|
||||
|
|
|
|||
Loading…
Reference in New Issue