summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/main.go b/main.go
index e0702f9..b57c924 100644
--- a/main.go
+++ b/main.go
@@ -18,6 +18,7 @@ import (
"os"
"path/filepath"
"strings"
+ "time"
"github.com/alexflint/go-arg"
"github.com/go-cmd/cmd"
@@ -63,6 +64,8 @@ func main() {
}
if argv.Format {
+ protoReformatComments(argv.Proto)
+ time.Sleep(5 * time.Second)
protoReformat(argv.Proto)
okExit("")
}