Skip to content

Commit

Permalink
Update command line parameter description
Browse files Browse the repository at this point in the history
  • Loading branch information
Jandini committed Dec 23, 2022
1 parent 1f1e904 commit 8d59721
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/WinGif/Options.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,18 @@ internal class Gif
[Option('d', "frame-delay", HelpText = "Delay between GIF frames in milliseconds. (33ms delay between frames equals ~30fps)", Default = 1000, Required = false)]
public int FrameDelay { get; set; }

[Option('l', "self-capture", HelpText = "Allow self capture. By default WinGif will stop capturing when the window is active.", Default = false, Required = false)]
[Option('l', "self-capture", HelpText = "Allow self capture. By default WinGif will stop capturing when the window is active. (Require -t WinGif)", Default = false, Required = false)]
public bool AllowSelfCapture { get; set; }
}


[Verb("capture", isDefault: true, HelpText = "Create animated GIF by capturing active window.")]
internal class Capture : Gif, ICaptureParameters
{
[Option('t', "title", HelpText = "Full or partial window title to trigger the capture of active window.", Required = true)]
[Option('t', "title", HelpText = "Case sensitive, full or partial window title. The capture will start when window containing this title becomes active.", Required = true)]
public string WindowCaption { get; set; }

[Option('s', "single", HelpText = "Capture window only with given title.", Default = false, Required = false)]
[Option('s', "single", HelpText = "Capture only window with given title.", Default = false, Required = false)]
public bool SingleWindow { get; set; }

[Option('o', "output", HelpText = "Output GIF file name.", Required = true)]
Expand Down

0 comments on commit 8d59721

Please sign in to comment.