server/adm: Make --config/-f a global option
This commit is contained in:
parent
064a747bb4
commit
6d3d07cb14
|
@ -15,7 +15,7 @@ use command::make_token::{self, MakeToken};
|
|||
#[clap(propagate_version = true)]
|
||||
pub struct Opts {
|
||||
/// Path to the config file.
|
||||
#[clap(short = 'f', long)]
|
||||
#[clap(short = 'f', long, global = true)]
|
||||
config: Option<PathBuf>,
|
||||
|
||||
/// The sub-command.
|
||||
|
|
Loading…
Reference in a new issue