projects
/
platform
/
core
/
dotnet
/
diagnostics.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b143d86
)
[dotnet-counters] Make refresh-interval optional (#253)
author
Sung Yoon Whang
<suwhang@microsoft.com>
Mon, 6 May 2019 22:28:04 +0000
(15:28 -0700)
committer
GitHub
<noreply@github.com>
Mon, 6 May 2019 22:28:04 +0000
(15:28 -0700)
* --refresh-interval is now optional
* Make the default refresh-interval 1
src/Tools/dotnet-counters/Program.cs
patch
|
blob
|
history
diff --git
a/src/Tools/dotnet-counters/Program.cs
b/src/Tools/dotnet-counters/Program.cs
index 762e277bdaf07f2f1dc1d7df793795610d7a6c0f..25158dbd212e5e1b23bde29ea3b311049e089a3f 100644
(file)
--- a/
src/Tools/dotnet-counters/Program.cs
+++ b/
src/Tools/dotnet-counters/Program.cs
@@
-35,7
+35,7
@@
namespace Microsoft.Diagnostics.Tools.Counters
new Option(
new[] { "--refresh-interval" },
"The number of seconds to delay between updating the displayed counters.",
- new Argument<int> { Name = "refresh-interval" });
+ new Argument<int>
(defaultValue: 1)
{ Name = "refresh-interval" });
private static Argument CounterList() =>
new Argument<List<string>> {