<commit_before>var yargs = require('yargs');

var argv = yargs.usage('This is my awesome program', {
  'about': {
    description: 'Provide some details about the author of this program',
    required: true,
    alias: 'a',
  },
  'info': {
    description: 'Provide some information about the node.js agains!!!!!!',
    boolean: true,
    alias: 'i'
  }
}).argv;

yargs.showHelp();

console.log('\n\nInspecting options');
console.dir(argv);
<commit_msg>fix(examples): fix usage-options.js to reflect current API (#1375)<commit_after>var yargs = require('yargs');

var argv = yargs.usage('This is my awesome program')
  .options({
    'about': {
      description: 'Provide some details about the author of this program',
      required: true,
      alias: 'a',
    },
    'info': {
      description: 'Provide some information about the node.js agains!!!!!!',
      boolean: true,
      alias: 'i'
    }
  }).argv;

yargs.showHelp();

console.log('\n\nInspecting options');
console.dir(argv);

{'fraction_non_alphanumeric': 0.15694164989939638, 'fraction_numerical': 0.004024144869215292, 'mean_word_length': 3.502262443438914, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6310141', 'n_tokens_mistral': 321, 'n_tokens_neox': 317, 'n_words': 94}