module.exports = function () {
    'use strict';

    var ArgumentParser = require('argparse').ArgumentParser;
    var parser = new ArgumentParser({
        addHelp: true
    });

    // flags
    parser.addArgument('-K', {
        choices: ['circo', 'dot', 'fdp', 'neato', 'osage', 'twopi'],
        metavar: 'layout',
        help: 'Specifies which default layout algorithm to use, overriding the default from the executable. ' +
        'circo, dot, fdp, neato, osage and twopi are supported.'
    });
    parser.addArgument('-T', {
        choices: ['svg', 'xdot', 'plain', 'ps'],
        defaultValue: 'xdot',
        metavar: 'format',
        help: 'Set output language to one of the supported formats svg, xdot, plain and ps. ' +
        'By default, xdot is produced. GraphViz\' additional renderer and formatter options are not supported.'
    });
    parser.addArgument('-V', {
        action: 'storeTrue',
        help: 'Emit version information and exit. viz.js-cli-wrapper will pretend to be version 2.38.0 (20140413.2041).'
    });
    parser.addArgument('-o', {
        metavar: 'outfile',
        help: 'Write output to file outfile. By default, output goes to stdout.'
    });

    // pos args
    parser.addArgument('inputs', {
        nargs: '*',
        metavar: 'input file',
        help: 'Specifies an input file. If no input files are supplied, the program reads from stdin.'
    });

    var args = parser.parseArgs();
    args.prog = parser.prog;
    return args;
};

@@ -51,30 +51,24 @@
     var 
-ArgumentP
+argp
 arse
-r
  = requi
@@ -85,24 +85,92 @@
 se')
-.ArgumentParser;
+;%0A    var ArgumentParser = argparse.ArgumentParser;%0A    var Const = argparse.Const;%0A
 %0A   
@@ -1321,11 +1321,26 @@
 gs: 
-'*'
+Const.ZERO_OR_MORE
 ,%0A  

use argparse.Const instead of hardcoded values