Enforce nullability in RombaSharp program

This commit is contained in:
Matt Nadareski
2024-03-06 01:04:51 -05:00
parent fe0dccb8d2
commit d7a317c1aa
27 changed files with 53 additions and 66 deletions

View File

@@ -1,5 +1,4 @@
using System.Collections.Generic;
using SabreTools.Help;
namespace RombaSharp.Features
@@ -11,7 +10,7 @@ namespace RombaSharp.Features
public Progress()
{
Name = Value;
Flags = new List<string>() { "progress" };
Flags = ["progress"];
Description = "Shows progress of the currently running command.";
_featureType = ParameterType.Flag;
LongDescription = "Shows progress of the currently running command.";