summaryrefslogtreecommitdiffstats
path: root/cmd/gotop/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/gotop/main.go')
-rw-r--r--cmd/gotop/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/gotop/main.go b/cmd/gotop/main.go
index 7f08626..ec6c11e 100644
--- a/cmd/gotop/main.go
+++ b/cmd/gotop/main.go
@@ -134,7 +134,7 @@ func parseArgs() error {
return nil
}
fileName := info.Name()
- if !strings.HasSuffix(fileName, ".toml") {
+ if strings.HasSuffix(fileName, ".toml") {
fmt.Println(strings.TrimSuffix(fileName, ".toml"))
}
return nil