summary refs log tree commit diff
path: root/ripple/fossil/src/bin/add.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ripple/fossil/src/bin/add.rs')
-rw-r--r--ripple/fossil/src/bin/add.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/ripple/fossil/src/bin/add.rs b/ripple/fossil/src/bin/add.rs
index 7768366..84e67e2 100644
--- a/ripple/fossil/src/bin/add.rs
+++ b/ripple/fossil/src/bin/add.rs
@@ -15,12 +15,14 @@ use {
 struct Args {
 	#[clap(name = "PATH")]
 	paths: Vec<PathBuf>,
+	#[clap(long, default_value = "fossil.db")]
+	store: PathBuf,
 }
 
 fn main() {
 	let args = Args::parse();
 
-	let store = fossil::Store::open("fossil.db").unwrap();
+	let store = fossil::Store::open(args.store).unwrap();
 	let mut root = Directory::new();
 
 	for name in args.paths {