File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ rust-version = "1.85.0"
9
9
[dependencies ]
10
10
anyhow = { workspace = true }
11
11
chrono = { workspace = true , features = [" serde" ] }
12
- clap = { workspace = true , features = [" derive" ] }
12
+ clap = { workspace = true , features = [" derive" , " env " ] }
13
13
env_logger = { workspace = true }
14
14
hashbrown = { workspace = true }
15
15
log = { workspace = true }
Original file line number Diff line number Diff line change @@ -411,7 +411,7 @@ struct DbOption {
411
411
/// Database output file
412
412
// This would be better as a `PathBuf`, but it's used in various ways that
413
413
// make that tricky without adjusting several points in the code.
414
- #[ arg( long, default_value = "results.db" ) ]
414
+ #[ arg( long, default_value = "results.db" , env = "DATABASE_URL" ) ]
415
415
db : String ,
416
416
}
417
417
You can’t perform that action at this time.
0 commit comments