1
0
mirror of https://github.com/shimunn/gitredditor.git synced 2023-11-17 18:42:43 +01:00

provide default for repo
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
shimunn 2019-05-25 21:03:13 +02:00 committed by shimunn
parent 69c4efc0fa
commit c68889b2db
Signed by: shimun
GPG Key ID: 87999521848D6CA7

View File

@ -21,7 +21,7 @@ fn main() {
println!(
"Hello, world! {:?}",
update(
&opts.repo.unwrap(),
&opts.repo.unwrap_or(PathBuf::from("repo")),
comments.take(opts.fetch).flatten(),
&opts.redditor,
&("reddit.com/u/".to_owned() + &opts.redditor),