Skip to content

Commit 05d0dcc

Browse files
author
Per Kops
committed
refact: change RootCommandSettings to utilize new shortversion of version aswell as long-version
1 parent d9442b4 commit 05d0dcc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Atc.CodingRules.Updater.CLI/Commands/Settings/RootCommandSettings.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ namespace Atc.CodingRules.Updater.CLI.Commands.Settings;
22

33
public class RootCommandSettings : BaseCommandSettings
44
{
5-
[CommandOption(CommandConstants.ArgumentLongVersion)]
5+
[CommandOption($"{CommandConstants.ArgumentShortVersion}|{CommandConstants.ArgumentLongVersion}")]
66
[Description("Display version")]
77
public bool? Version { get; init; }
88
}

0 commit comments

Comments
 (0)