aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index 28de762..a622afd 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -20,6 +20,10 @@ struct Args {
#[structopt(short = "O", long)]
output_document: Option<PathBuf>,
+ /// Set output directory
+ #[structopt(short = "P", long, default_value = ".")]
+ directory_prefix: PathBuf,
+
/// The URLs to download
urls: Vec<Uri>,
}