Skip to content

Commit

Permalink
Little changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ScrubN committed Dec 30, 2023
1 parent 83d5419 commit 8ff2942
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion TwitchDownloaderCLI/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ private static void Main(string[] args)
var parser = new Parser(config =>
{
config.CaseInsensitiveEnumValues = true;
config.HelpWriter = TextWriter.Null;
config.HelpWriter = null; // Use null instead of TextWriter.Null due to how CommandLine works internally
});

var parserResult = parser.ParseArguments<VideoDownloadArgs, ClipDownloadArgs, ChatDownloadArgs, ChatUpdateArgs, ChatRenderArgs, FfmpegArgs, CacheArgs>(preParsedArgs);
Expand Down
4 changes: 2 additions & 2 deletions TwitchDownloaderWPF/WindowMassDownload.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,13 @@ private async void btnChannel_Click(object sender, RoutedEventArgs e)
await ChangeCurrentChannel();
}

private async Task ChangeCurrentChannel()
private Task ChangeCurrentChannel()
{
currentChannel = textChannel.Text;
videoList.Clear();
cursorList.Clear();
cursorIndex = -1;
await UpdateList();
return UpdateList();
}

private async Task UpdateList()
Expand Down

0 comments on commit 8ff2942

Please sign in to comment.