#!/usr/bin/env node
var standardVersion = require('../index')
var cmdParser = require('../command')

standardVersion(cmdParser.argv, function (err) {
  if (err) {
    process.exit(1)
  }
})

@@ -94,16 +94,201 @@
 mand')%0A%0A
+/* istanbul ignore if */%0Aif (process.version.match(/v(%5Cd+)%5C./)%5B1%5D %3C 4) %7B%0A  console.error('standard-version: Node v4 or greater is required. %60standard-version%60 did not run.')%0A%7D else %7B%0A  
 standard
@@ -328,16 +328,18 @@
 (err) %7B%0A
+  
   if (er
@@ -339,24 +339,26 @@
  if (err) %7B%0A
+  
     process.
@@ -371,9 +371,15 @@
 )%0A  
-%7D%0A
+  %7D%0A  
 %7D)%0A
+%7D%0A

print error and don't run with node <4, closes #124