Rename dumps-dir to dump-dir in CLI

Also rename the associated environment variable
This commit is contained in:
Louis Dureuil 2022-12-01 15:39:36 +01:00
parent 93b59d55e3
commit e35db5e59b
No known key found for this signature in database
3 changed files with 11 additions and 11 deletions

View file

@ -184,7 +184,7 @@ impl Server {
pub fn default_settings(dir: impl AsRef<Path>) -> Opt {
Opt {
db_path: dir.as_ref().join("db"),
dumps_dir: dir.as_ref().join("dump"),
dump_dir: dir.as_ref().join("dump"),
env: "development".to_owned(),
#[cfg(all(not(debug_assertions), feature = "analytics"))]
no_analytics: true,