Skip to content

Commit d04a748

Browse files
Copilotarturcic
andcommitted
Use -v for verbosity instead of show variable to follow standard CLI conventions
Co-authored-by: arturcic <[email protected]>
1 parent 0c05d92 commit d04a748

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/GitVersion.App/SpectreArgumentParser.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ internal class GitVersionSettings : CommandSettings
405405
[Description("Format string for version output")]
406406
public string? Format { get; set; }
407407

408-
[CommandOption("-v|--show-variable")]
408+
[CommandOption("--show-variable")]
409409
[Description("Show a specific GitVersion variable")]
410410
public string? ShowVariable { get; set; }
411411

@@ -481,7 +481,7 @@ internal class GitVersionSettings : CommandSettings
481481
[Description("Path to log file")]
482482
public string? LogFilePath { get; set; }
483483

484-
[CommandOption("--verbosity")]
484+
[CommandOption("-v|--verbosity")]
485485
[Description("Logging verbosity (quiet, minimal, normal, verbose, diagnostic)")]
486486
public string? Verbosity { get; set; }
487487
}

0 commit comments

Comments
 (0)