code: function transformHelpArgs (processArgv) {
    var args = (processArgv || []).slice();
  
    // Remove "--help" and "-h" from args
    var longIndex = args.indexOf("--help");
    if (longIndex !== -1) {
      args.splice(longIndex, 1);
    }
    var shortIndex = args.indexOf("-h");
    if (shortIndex !== -1) {
      args.splice(shortIndex, 1);
    }
  
    // Replace `$0 …` by `$0 help …`
    args.unshift("help");
  
    return args;
  }
docs: Transform CLI args to convert --help && -h into help command