Skip to content

Commit b1ec3d2

Browse files
committed
Clarify min/max requirement
1 parent 397f943 commit b1ec3d2

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

RedumpTool/Program.cs

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,14 @@ private static Feature DeriveFeature(string feature)
8080
/// <returns>Initialized Downloader on success, null otherwise</returns>
8181
private static Downloader? CreateDownloader(Feature feature, string[] args)
8282
{
83+
var downloader = new Downloader()
84+
{
85+
Feature = feature,
86+
MinimumId = -1,
87+
MaximumId = -1,
88+
};
89+
8390
// Loop through all of the arguments
84-
var downloader = new Downloader() { Feature = feature };
8591
try
8692
{
8793
for (int i = 1; i < args.Length; i++)
@@ -254,6 +260,8 @@ private static void ShowHelp()
254260
Console.WriteLine(" -l, --list - Only list the page IDs for that query");
255261
Console.WriteLine(" -ns, --noslash - Don't replace forward slashes with '-'");
256262
Console.WriteLine();
263+
Console.WriteLine("If using an ID range, both minimum and maximum are required");
264+
Console.WriteLine();
257265
}
258266
}
259267
}

0 commit comments

Comments
 (0)