From 1387e4ce056cc024b0bc8777dad824e9e0492898 Mon Sep 17 00:00:00 2001 From: Youssef Victor <31348972+Youssef1313@users.noreply.github.com> Date: Tue, 28 Jul 2020 09:00:48 +0200 Subject: [PATCH 1/4] Add missing "for" word --- src/Tools/dotnet-gcdump/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Tools/dotnet-gcdump/Program.cs b/src/Tools/dotnet-gcdump/Program.cs index 06bb2bbc69..2bff5b24b1 100644 --- a/src/Tools/dotnet-gcdump/Program.cs +++ b/src/Tools/dotnet-gcdump/Program.cs @@ -15,7 +15,7 @@ public static Task Main(string[] args) { var parser = new CommandLineBuilder() .AddCommand(CollectCommandHandler.CollectCommand()) - .AddCommand(ProcessStatusCommandHandler.ProcessStatusCommand("Lists the dotnet processes that gcdumps can be collected")) + .AddCommand(ProcessStatusCommandHandler.ProcessStatusCommand("Lists the dotnet processes that gcdumps can be collected for")) .AddCommand(ReportCommandHandler.ReportCommand()) .UseDefaults() .Build(); From 2d6071013b19604ba36733966c9586e2c29efd7a Mon Sep 17 00:00:00 2001 From: Youssef Victor <31348972+Youssef1313@users.noreply.github.com> Date: Tue, 28 Jul 2020 09:20:11 +0200 Subject: [PATCH 2/4] Update CollectCommandHandler.cs --- src/Tools/dotnet-gcdump/CommandLine/CollectCommandHandler.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Tools/dotnet-gcdump/CommandLine/CollectCommandHandler.cs b/src/Tools/dotnet-gcdump/CommandLine/CollectCommandHandler.cs index f756e4ea21..54f16e1de0 100644 --- a/src/Tools/dotnet-gcdump/CommandLine/CollectCommandHandler.cs +++ b/src/Tools/dotnet-gcdump/CommandLine/CollectCommandHandler.cs @@ -150,7 +150,7 @@ private static Option ProcessIdOption() => private static Option NameOption() => new Option( aliases: new[] { "-n", "--name" }, - description: "The name of the process to collect the gcdump.") + description: "The name of the process to collect the gcdump for.") { Argument = new Argument(name: "name") }; From 6ff1f692da2a9dedb73f7b25d18c40e28884fae9 Mon Sep 17 00:00:00 2001 From: Youssef Victor <31348972+Youssef1313@users.noreply.github.com> Date: Tue, 28 Jul 2020 18:54:41 +0200 Subject: [PATCH 3/4] Update CollectCommandHandler.cs --- src/Tools/dotnet-gcdump/CommandLine/CollectCommandHandler.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Tools/dotnet-gcdump/CommandLine/CollectCommandHandler.cs b/src/Tools/dotnet-gcdump/CommandLine/CollectCommandHandler.cs index 54f16e1de0..e05dbd4bf2 100644 --- a/src/Tools/dotnet-gcdump/CommandLine/CollectCommandHandler.cs +++ b/src/Tools/dotnet-gcdump/CommandLine/CollectCommandHandler.cs @@ -150,7 +150,7 @@ private static Option ProcessIdOption() => private static Option NameOption() => new Option( aliases: new[] { "-n", "--name" }, - description: "The name of the process to collect the gcdump for.") + description: "The name of the process to collect the gcdump from.") { Argument = new Argument(name: "name") }; From ad0c20c41d9a38fd6b58298122f4bfa8efd93bb5 Mon Sep 17 00:00:00 2001 From: Youssef Victor <31348972+Youssef1313@users.noreply.github.com> Date: Tue, 28 Jul 2020 18:55:12 +0200 Subject: [PATCH 4/4] Update Program.cs --- src/Tools/dotnet-gcdump/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Tools/dotnet-gcdump/Program.cs b/src/Tools/dotnet-gcdump/Program.cs index 2bff5b24b1..d33868baf5 100644 --- a/src/Tools/dotnet-gcdump/Program.cs +++ b/src/Tools/dotnet-gcdump/Program.cs @@ -15,7 +15,7 @@ public static Task Main(string[] args) { var parser = new CommandLineBuilder() .AddCommand(CollectCommandHandler.CollectCommand()) - .AddCommand(ProcessStatusCommandHandler.ProcessStatusCommand("Lists the dotnet processes that gcdumps can be collected for")) + .AddCommand(ProcessStatusCommandHandler.ProcessStatusCommand("Lists the dotnet processes that gcdumps can be collected from")) .AddCommand(ReportCommandHandler.ReportCommand()) .UseDefaults() .Build();