summaryrefslogtreecommitdiff
path: root/src/cmd/restore.rs
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2021-12-05 08:58:53 +0200
committerLars Wirzenius <liw@liw.fi>2021-12-05 08:58:53 +0200
commit1d082fd0485ee01561b39c82b25bfd8f8aaa1dc8 (patch)
tree2d5b1157b0d430aaf31750ad931959a39a049a0c /src/cmd/restore.rs
parent7dc514d0baecbb0a4190a701ff1266f7d6a096d2 (diff)
downloadobnam2-1d082fd0485ee01561b39c82b25bfd8f8aaa1dc8.tar.gz
chore: tidy up things found by newer Rust toolchain
Sponsored-by: author
Diffstat (limited to 'src/cmd/restore.rs')
-rw-r--r--src/cmd/restore.rs16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/cmd/restore.rs b/src/cmd/restore.rs
index e9e89b5..9848caf 100644
--- a/src/cmd/restore.rs
+++ b/src/cmd/restore.rs
@@ -75,22 +75,6 @@ impl Restore {
}
}
-#[derive(Debug, StructOpt)]
-#[structopt(name = "obnam-backup", about = "Simplistic backup client")]
-struct Opt {
- #[structopt(parse(from_os_str))]
- config: PathBuf,
-
- #[structopt()]
- gen_id: String,
-
- #[structopt(parse(from_os_str))]
- dbname: PathBuf,
-
- #[structopt(parse(from_os_str))]
- to: PathBuf,
-}
-
#[derive(Debug, thiserror::Error)]
pub enum RestoreError {
#[error("Could not create named pipe (FIFO) {0}")]