mirror of
https://codeberg.org/scip/io-exporter.git
synced 2025-12-18 04:51:02 +01:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 23fd9ab3a9 | |||
| 37f76b38ab | |||
| 755e79b72d |
6
.gitignore
vendored
6
.gitignore
vendored
@@ -31,4 +31,10 @@ go.work.sum
|
||||
# .idea/
|
||||
# .vscode/
|
||||
|
||||
# build residue
|
||||
io-exporter
|
||||
|
||||
# test deployments
|
||||
*.yaml
|
||||
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ import (
|
||||
)
|
||||
|
||||
const (
|
||||
Version = `v0.0.3`
|
||||
Version = `v0.0.4`
|
||||
SLEEP = 5
|
||||
Usage = `io-exporter [options] <file>
|
||||
Options:
|
||||
|
||||
@@ -18,6 +18,11 @@ func Run() {
|
||||
log.Fatal(err)
|
||||
}
|
||||
|
||||
if conf.Showversion {
|
||||
fmt.Printf("This is io-exporter version %s\n", Version)
|
||||
os.Exit(0)
|
||||
}
|
||||
|
||||
metrics := NewMetrics(conf)
|
||||
alloc := NewAlloc()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user