summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/main.go b/main.go
index 4c597cb..42e3a81 100644
--- a/main.go
+++ b/main.go
@@ -142,6 +142,10 @@ func main() {
s, err = doPatch()
}
+ if argv.Generate != nil {
+ s, err = doGenerate()
+ }
+
if argv.Whatchanged != nil {
// this might be deprecated by the git devs
// I put it here because of finger memory and it's nice