From 45650ea93b723db551fec8c77fbac5065c7659a6 Mon Sep 17 00:00:00 2001 From: jikstra Date: Fri, 10 Sep 2021 16:23:26 +0200 Subject: Implement --show-wget-footer argument --- src/args.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/args.rs') diff --git a/src/args.rs b/src/args.rs index ff8d92b..c610bbe 100644 --- a/src/args.rs +++ b/src/args.rs @@ -142,6 +142,10 @@ pub struct CliArgs { #[clap(short = 'F', long = "hide-version-footer")] pub hide_version_footer: bool, + /// If enabled, display a wget command to recursively download the current directory + #[clap(short = 'W', long = "show-wget-footer")] + pub show_wget_footer: bool, + /// Generate completion file for a shell #[clap(long = "print-completions", value_name = "shell", possible_values = &Shell::variants())] pub print_completions: Option, -- cgit v1.2.3