From 40ea36f8cf45be0114ebbfd4bbdc73d3d379fc54 Mon Sep 17 00:00:00 2001 From: Azi Hassan Date: Tue, 13 Feb 2024 21:40:39 +0100 Subject: [PATCH] [feature/ISSUE-56] Restore -d flag for backward compatibility --- source/app.d | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/app.d b/source/app.d index ff45967..ced2947 100644 --- a/source/app.d +++ b/source/app.d @@ -54,7 +54,8 @@ void main(string[] args) "v|verbose", "Display debugging messages", &verbose, "no-progress", "Don't display real-time progress", &noProgress, "no-cache", "Skip caching of HTML and base.js", &noCache, - "no-dethrottle", "Skip N-challenge dethrottling attempt", () { dethrottle = false; } + "d|dethrottle", "Attempt to dethrottle download speed by solving the N challenge (defaults to true)", &dethrottle, + "no-dethrottle", "Skip N-challenge dethrottling attempt", () { dethrottle = false; }, ); if(help.helpWanted || args.length == 1)