diff options
author | Lars Wirzenius <liw@liw.fi> | 2020-11-22 15:00:46 +0000 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2020-11-22 15:00:46 +0000 |
commit | 7194cdfb105b1b835dc2a4ff3bbfc1823f170243 (patch) | |
tree | 0484972dd085963e157de00f878d5f0e6d98a52a /src/bin/obnam.rs | |
parent | 0158bd9c06acae4245897e5e04681b4a1637bee9 (diff) | |
parent | 68e88efced88f05664ae9050f6888453cfe9cd30 (diff) | |
download | obnam2-7194cdfb105b1b835dc2a4ff3bbfc1823f170243.tar.gz |
Merge branch 'templite' into 'main'
feat! use temporary files for SQLite databases
Closes #6
See merge request larswirzenius/obnam!20
Diffstat (limited to 'src/bin/obnam.rs')
-rw-r--r-- | src/bin/obnam.rs | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/bin/obnam.rs b/src/bin/obnam.rs index d0cf271..1394b6c 100644 --- a/src/bin/obnam.rs +++ b/src/bin/obnam.rs @@ -15,12 +15,7 @@ fn main() -> anyhow::Result<()> { match opt { Opt::Backup { config } => backup(&config, BUFFER_SIZE)?, Opt::List { config } => list(&config)?, - Opt::Restore { - config, - gen_id, - dbname, - to, - } => restore(&config, &gen_id, &dbname, &to)?, + Opt::Restore { config, gen_id, to } => restore(&config, &gen_id, &to)?, } Ok(()) } @@ -44,9 +39,6 @@ enum Opt { gen_id: String, #[structopt(parse(from_os_str))] - dbname: PathBuf, - - #[structopt(parse(from_os_str))] to: PathBuf, }, } |