Skip to content

Commit 2391183

Browse files
author
jasper-schneider
committed
Align help text with OM doc comments
1 parent 3def122 commit 2391183

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

src/ResourceManager/Batch/Commands.Batch/Pools/NewBatchPoolCommand.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,11 @@ public class NewBatchPoolCommand : BatchObjectModelCmdletBase
5151
[ValidateNotNullOrEmpty]
5252
public int? TargetDedicated { get; set; }
5353

54-
[Parameter(ParameterSetName = AutoScaleParameterSet, HelpMessage = "The AutoScale formula to use with the Pool.")]
54+
[Parameter(ParameterSetName = AutoScaleParameterSet, HelpMessage = "The formula for automatically scaling the Pool.")]
5555
[ValidateNotNullOrEmpty]
5656
public string AutoScaleFormula { get; set; }
5757

58-
[Parameter(HelpMessage = "The maximum number of Tasks that can run on a VM.")]
58+
[Parameter(HelpMessage = "The maximum number of Tasks that can run on a single VM.")]
5959
[ValidateNotNullOrEmpty]
6060
public int? MaxTasksPerVM { get; set; }
6161

@@ -67,14 +67,14 @@ public class NewBatchPoolCommand : BatchObjectModelCmdletBase
6767
[ValidateNotNullOrEmpty]
6868
public IDictionary Metadata { get; set; }
6969

70-
[Parameter(HelpMessage = "The VMs in the Pool need to communicate with each other.")]
70+
[Parameter(HelpMessage = "Set up the Pool for direct communication between dedicated VMs.")]
7171
public SwitchParameter Communication { get; set; }
7272

73-
[Parameter(HelpMessage = "The Task that will run on all VMs that belong to the pool. The Start Task runs when the VM is added to the pool or when it is restarted.")]
73+
[Parameter(HelpMessage = "The start task specification for the Pool. The start task is run when a VM joins a Pool, or when the VM is rebooted or reimaged.")]
7474
[ValidateNotNullOrEmpty]
7575
public PSStartTask StartTask { get; set; }
7676

77-
[Parameter(HelpMessage = "Certificate References associated with the Pool. The referenced certificates will be installed on each VM in the Pool")]
77+
[Parameter(HelpMessage = "Certificates associated with the Pool.")]
7878
[ValidateNotNullOrEmpty]
7979
public PSCertificateReference[] CertificateReferences { get; set; }
8080

src/ResourceManager/Batch/Commands.Batch/Tasks/NewBatchTaskCommand.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@ public class NewBatchTaskCommand : BatchObjectModelCmdletBase
4040
[ValidateNotNullOrEmpty]
4141
public string Name { get; set; }
4242

43-
[Parameter(HelpMessage = "The command the Task will execute.")]
43+
[Parameter(HelpMessage = "The commandline for the Task.")]
4444
[ValidateNotNullOrEmpty]
4545
public string CommandLine { get; set; }
4646

47-
[Parameter(HelpMessage = "Resource Files to add to the new Task. For each key/value pair, set the key to the Resource File path, and the value to the Resource File blob source.")]
47+
[Parameter(HelpMessage = "Resource Files required by the Task. For each key/value pair, set the key to the Resource File path, and the value to the Resource File blob source.")]
4848
[ValidateNotNullOrEmpty]
4949
public IDictionary ResourceFiles { get; set; }
5050

@@ -55,11 +55,11 @@ public class NewBatchTaskCommand : BatchObjectModelCmdletBase
5555
[Parameter(HelpMessage = "Run the Task in elevated mode.")]
5656
public SwitchParameter RunElevated { get; set; }
5757

58-
[Parameter(HelpMessage = "The Affinity Information for the Task.")]
58+
[Parameter(HelpMessage = "The locality hints for the Task.")]
5959
[ValidateNotNullOrEmpty]
6060
public PSAffinityInformation AffinityInformation { get; set; }
6161

62-
[Parameter(HelpMessage = "The Task Constraints.")]
62+
[Parameter(HelpMessage = "The execution constraints for the Task.")]
6363
[ValidateNotNullOrEmpty]
6464
public PSTaskConstraints TaskConstraints { get; set; }
6565

0 commit comments

Comments
 (0)