diff --git a/lib/cli.coffee b/lib/cli.coffee index 1627df1..8c66784 100644 --- a/lib/cli.coffee +++ b/lib/cli.coffee @@ -1,11 +1,12 @@ -ArgumentParser = require('argparse').ArgumentParser +{ArgumentParser} = require 'argparse' + packageInfo = require '../package' tidyMarkdown = require './' argparser = new ArgumentParser( - version: packageInfo.version addHelp: true description: packageInfo.description + version: packageInfo.version ) argparser.addArgument(