summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/main.go b/main.go
index 381b2fd..78e58a2 100644
--- a/main.go
+++ b/main.go
@@ -34,6 +34,13 @@ func main() {
var pb *Files
pb = new(Files)
+ if argv.Identify != "" {
+ if err := doIdentify(argv.Identify); err != nil {
+ badExit(err)
+ }
+ okExit("")
+ }
+
// you need a proto file
if argv.Proto == "" {
log.Info("you must provide --proto <filename>")