File tree Expand file tree Collapse file tree
DebUOS/Packaging.DebUOS.Tool Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3030 </ProjectReference >
3131 </ItemGroup >
3232 <ItemGroup >
33- <PackageReference Include =" dotnetCampus.CommandLine" Version =" 4.0.0-alpha04 " />
33+ <PackageReference Include =" dotnetCampus.CommandLine" Version =" 4.1.2 " />
3434 </ItemGroup >
3535</Project >
Original file line number Diff line number Diff line change 7777 if ( optionAttribute != null )
7878 {
7979 stringBuilder . AppendLine (
80- $ "-{ optionAttribute . ShortName } { ( optionAttribute . LongName ?? string . Empty ) . PadRight ( 10 ) } { optionAttribute . Description } { optionAttribute . LocalizableDescription } ") ;
80+ $ "-{ optionAttribute . ShortNames ? . FirstOrDefault ( ) } { ( optionAttribute . LongNames ? . FirstOrDefault ( ) ?? string . Empty ) . PadRight ( 10 ) } { optionAttribute . Description } { optionAttribute . LocalizableDescription } ") ;
8181 }
8282 }
8383
84+ stringBuilder . AppendLine ( $ "OriginCommandline: { Environment . CommandLine } ") ;
85+
8486 Console . WriteLine ( stringBuilder . ToString ( ) ) ;
8587 }
8688}
You can’t perform that action at this time.
0 commit comments