Skip to content

Commit d90eda0

Browse files
authored
Syntax touch-ups
1 parent 88e7b09 commit d90eda0

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/Cake.GitVersioning/GitVersioningCloudSettings.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,20 +29,20 @@ public class GitVersioningCloudSettings
2929

3030
/// <summary>
3131
/// Gets or sets a value indicating whether to define ALL version variables as cloud build variables, with a "NBGV_" prefix.
32-
/// Default value: <see langword="false" />.
3332
/// </summary>
34-
public bool AllVariables { get; set; } = false;
33+
/// <value>The default value is <see langword="false" />.</value>
34+
public bool AllVariables { get; set; }
3535

3636
/// <summary>
3737
/// Gets or sets a value indicating whether to define a few common version variables as cloud build variables, with a "Git" prefix.
38-
/// Default value: <see langword="false" />.
3938
/// </summary>
40-
public bool CommonVariables { get; set; } = false;
39+
/// <value>The default value is <see langword="false" />.</value>
40+
public bool CommonVariables { get; set; }
4141

4242
/// <summary>
4343
/// Gets or sets a value indicating whether to set the cloud build number.
44-
/// Default value: <see langword="true" />.
4544
/// </summary>
45+
/// <value>The default value is <see langword="true" />.</value>
4646
public bool CloudBuildNumber { get; set; } = true;
4747

4848
/// <summary>

src/nbgv/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ private static Parser BuildCommandLine()
194194
var ciSystem = new Option<string>(new[] { "--ci-system", "-s" }, "Force activation for a particular CI system. If not specified, auto-detection will be used. Supported values are: " + string.Join(", ", CloudProviderNames)).FromAmong(CloudProviderNames);
195195
var allVars = new Option<bool>(new[] { "--all-vars", "-a" }, "Defines ALL version variables as cloud build variables, with a \"NBGV_\" prefix.");
196196
var commonVars = new Option<bool>(new[] { "--common-vars", "-c" }, "Defines a few common version variables as cloud build variables, with a \"Git\" prefix (e.g. GitBuildVersion, GitBuildVersionSimple, GitAssemblyInformationalVersion).");
197-
var skipCloudBuildNumber = new Option<bool>(new[] { "--skip-cloud-build-number", "-b" }, "Do not emit the cloud build variable to set the build number. This is useful when you want to set other cloud build variables but not the build number.");
197+
var skipCloudBuildNumber = new Option<bool>(new[] { "--skip-cloud-build-number" }, "Do not emit the cloud build variable to set the build number. This is useful when you want to set other cloud build variables but not the build number.");
198198
var define = new Option<string[]>(new[] { "--define", "-d" }, () => Array.Empty<string>(), "Additional cloud build variables to define. Each should be in the NAME=VALUE syntax.")
199199
{
200200
Arity = ArgumentArity.OneOrMore,

0 commit comments

Comments
 (0)