summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-rw-r--r--cmd/pggraph/main.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/cmd/pggraph/main.go b/cmd/pggraph/main.go
index fd61761..9842efd 100644
--- a/cmd/pggraph/main.go
+++ b/cmd/pggraph/main.go
@@ -216,6 +216,10 @@ func main() {
}
if *verbose {
- fmt.Printf("%s %0.2f %0.2f\n", flag.Arg(0), miny, maxy)
+ v := ""
+ if *vertical {
+ v = " vertical"
+ }
+ fmt.Printf("%s %d%s %0.2f %0.2f\n", flag.Arg(0), *width, v, miny, maxy)
}
}