fix: use DUFS_CONFIG to specify the config file path (#286)

This commit is contained in:
sigoden
2023-11-08 11:10:47 +08:00
committed by GitHub
parent 0d74fa3ec5
commit a476c15a09
2 changed files with 2 additions and 1 deletions

View File

@@ -29,7 +29,7 @@ pub fn build_cli() -> Command {
)
.arg(
Arg::new("config")
.env("DUFS_SERVE_PATH")
.env("DUFS_CONFIG")
.hide_env(true)
.short('c')
.long("config")