diff --git a/Program.cs b/Program.cs index cb90b2c..31e8b6f 100644 --- a/Program.cs +++ b/Program.cs @@ -150,17 +150,13 @@ internal static class Program { Description = "Data Type", DefaultValueFactory = _ => "jpeg" }; - dataTypeArgument.CompletionSources.Add(_ => { - List dataTypes = []; - dataTypes.AddRange([ - new("description"), - new("format"), - new("jpeg"), - new("json"), - new("sign"), - new("title")]); - return dataTypes; - }); + dataTypeArgument.CompletionSources.Add(_ => [ + new("description"), + new("format"), + new("jpeg"), + new("json"), + new("sign"), + new("title")]); Option outputOption = new("--output", "-o") { Description = "Output File", DefaultValueFactory = _ => "-"