summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow (europa) <paul@buetow.org>2015-05-31 11:49:16 +0100
committerPaul Buetow (europa) <paul@buetow.org>2015-05-31 11:49:16 +0100
commit7ce9a3a163eb03fe9c0340d3193a7132a6f1a257 (patch)
treef7354891d1d74022202aac47056bf24a9f849592
parent4c8a8a3269c316b6578ffdaaf3c2b5e06eaea135 (diff)
change default update interval
-rw-r--r--gotop/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/gotop/main.go b/gotop/main.go
index 5ed6331..0b8e318 100644
--- a/gotop/main.go
+++ b/gotop/main.go
@@ -200,7 +200,7 @@ func receiveP(pRxChan <-chan process.Process) {
func parseFlags() {
helpF := flag.Bool("v", false, "Print the version")
- interF := flag.Int("i", 2, "Update interval in seconds")
+ interF := flag.Int("i", 1, "Update interval in seconds")
config.binary = flag.Bool("b", false, "Use binary instead of decimal (e.g. kiB an not kB)")
config.mode = flag.Int("m", 1, "The stats mode: 0:bytes 1:syscalls 2:chars")