Skip to content

Commit

Permalink
Fixed help
Browse files Browse the repository at this point in the history
- help now shows the correct range 1-60 for the length option
  • Loading branch information
feuster committed Mar 21, 2024
1 parent 61e5b51 commit 00ad7db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions FFchapters2/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
bool ChapterDistributionAssumption = false;
bool OSLinux = RuntimeInformation.IsOSPlatform(OSPlatform.Linux);
//GitVersion will be only be actualized/overwritten when using Cake build!
const string GitVersion = "git-d543975";
const string GitVersion = "git-61e5b51";
const string Homepage = "https://github.com/feuster/FFchapters2";

#if WINDOWS
Expand Down Expand Up @@ -1043,7 +1043,7 @@ public Options() { }
[Option('o', "output", Default = "", Required = false, HelpText = "Set path to output chapter file")]
public string ChapterFile { get; set; } = "";

[Option('l', "length", Default = 5, Required = false, HelpText = "Set chapter length (time from chapter to next chapter) in minutes (1-30)")]
[Option('l', "length", Default = 5, Required = false, HelpText = "Set chapter length (time from chapter to next chapter) in minutes (1-60)")]
public int ChapterLength { get; set; }

[Option('c', "close", Default = false, Required = false, HelpText = "Close application automatically after chapter creation and on errors")]
Expand Down

0 comments on commit 00ad7db

Please sign in to comment.