Ingen beskrivning

help.js 323B

12345678910111213
  1. #!/usr/bin/env node
  2. 'use strict';
  3. var ArgumentParser = require('../lib/argparse').ArgumentParser;
  4. var parser = new ArgumentParser({
  5. version: '0.0.1',
  6. addHelp: true,
  7. description: 'Argparse examples: help',
  8. epilog: 'help epilog',
  9. prog: 'help_example_prog',
  10. usage: 'Usage %(prog)s <agrs>'
  11. });
  12. parser.printHelp();