Skip to content

Commit a7c4983

Browse files
committed
Removed Task.Delay as no longer necessary. #1127
1 parent 5ee6095 commit a7c4983

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/Microsoft.OpenApi.Hidi/Program.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ static async Task Main(string[] args)
2222
// Parse the incoming args and invoke the handler
2323
await rootCommand.InvokeAsync(args);
2424

25-
//// Wait for logger to write messages to the console before exiting
26-
await Task.Delay(10);
2725
}
2826

2927
internal static RootCommand CreateRootCommand()
@@ -129,6 +127,8 @@ internal static RootCommand CreateRootCommand()
129127
var showCommand = new Command("show")
130128
{
131129
descriptionOption,
130+
csdlOption,
131+
csdlFilterOption,
132132
logLevelOption,
133133
outputOption,
134134
cleanOutputOption
@@ -137,6 +137,8 @@ internal static RootCommand CreateRootCommand()
137137
showCommand.Handler = new ShowCommandHandler
138138
{
139139
DescriptionOption = descriptionOption,
140+
CsdlOption = csdlOption,
141+
CsdlFilterOption = csdlFilterOption,
140142
OutputOption = outputOption,
141143
LogLevelOption = logLevelOption
142144
};

0 commit comments

Comments
 (0)