)]}'
{
  "commit": "75c052e3167a80d1d2bc2f2e521c7012bba2e4ca",
  "tree": "f19dbf4561e9f7ed3c46a1d627253e85f5e752b3",
  "parents": [
    "9a9976e0551de7416d720c873e5e530701fa9a6b"
  ],
  "author": {
    "name": "thakis",
    "email": "thakis@chromium.org",
    "time": "Tue Feb 16 13:58:00 2016 -0800"
  },
  "committer": {
    "name": "Commit bot",
    "email": "commit-bot@chromium.org",
    "time": "Tue Feb 16 21:58:50 2016 +0000"
  },
  "message": "Add spell-checking to `gn help`.\n\nI tried porting a gyp copies step to gn, and one of the things I tried while\ndoing so whas `gn help copies`.  If help had spell-checking, it would\u0027ve\nsuggested `gn help copy`.  Since that seems like a nice change, add this.\n\nAlso stop printing full help output when a topic is not found, because then\nthe \"not found\" error scrolls by so fast that I never see it.\n\nDemo:\n$ out/gn/gn help copyasdfasdf\nERROR No help on \"copyasdfasdf\".\nRun `gn help` for a list of available topics.\n$ out/gn/gn help copies\nERROR No help on \"copies\".\nDid you mean `gn help copy`?\n\n(There\u0027s another implementation of EditDistance() in\ncomponents/ssl/error_classification.cc -- but that works based on strings\nnot StringPieces and it doesn\u0027t have a \"max_distance\" parameter.\nSince there\u0027s only one other instance of this function, just having a second version\nof it seems preferrable over finding some place to put this function so it can be used\nfrom both places. I\u0027m however improving the other copy a bit in\nhttps://codereview.chromium.org/1690593002/)\n\nBUG\u003dnone\n\nReview URL: https://codereview.chromium.org/1681363003\n\nCr-Original-Commit-Position: refs/heads/master@{#375673}\nCr-Mirrored-From: https://chromium.googlesource.com/chromium/src\nCr-Mirrored-Commit: 11afb324fa322a3d651124f3ca244c9595f84768\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "3479597f4bdf953379c46527bc20d9a4c055784f",
      "old_mode": 33188,
      "old_path": "tools/gn/command_help.cc",
      "new_id": "18cb6d127601b4005d262f826547694cd698328e",
      "new_mode": 33188,
      "new_path": "tools/gn/command_help.cc"
    },
    {
      "type": "modify",
      "old_id": "83a98bde5e4efced11346776f2c0737c5836cf6d",
      "old_mode": 33188,
      "old_path": "tools/gn/string_utils.cc",
      "new_id": "6f47b91c875a8ac09d126e0fd440ee9d9ed5027e",
      "new_mode": 33188,
      "new_path": "tools/gn/string_utils.cc"
    },
    {
      "type": "modify",
      "old_id": "07be4c856e4708cda02b6a7fd5aa466f0dc3a03d",
      "old_mode": 33188,
      "old_path": "tools/gn/string_utils.h",
      "new_id": "744714a754a35b674ffb6e432562774a4ac2b962",
      "new_mode": 33188,
      "new_path": "tools/gn/string_utils.h"
    },
    {
      "type": "modify",
      "old_id": "d62e17e7b81055cf848f8b75a90bb624bfc6ba5b",
      "old_mode": 33188,
      "old_path": "tools/gn/string_utils_unittest.cc",
      "new_id": "570997ff1b72bd2f1acbb6c60e9e946dc8444298",
      "new_mode": 33188,
      "new_path": "tools/gn/string_utils_unittest.cc"
    }
  ]
}
