Skip to content

Commit 2203f2e

Browse files
committed
Adds version info
1 parent 1ba1ebd commit 2203f2e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/https/Program.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,9 +131,12 @@ void Help()
131131
{
132132
var stream = _stdout();
133133
var writer = new StreamWriter(stream) { AutoFlush = true };
134+
writer.Write("dotnet-https ");
135+
writer.WriteLine(typeof(Program).Assembly.GetName().Version);
134136
writer.WriteLine("https [method] [uri] [options] [content]");
135137
writer.WriteLine("For example https put httpbin.org/put hello=world");
136138
writer.WriteLine("");
139+
137140
writer.Flush();
138141
}
139142

0 commit comments

Comments
 (0)