summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authorestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-21 00:22:05 +0000
committerestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-21 00:22:05 +0000
commitb8e6654fb91108033580f510e2d411093936fc2f (patch)
tree49900e5aa4b7b9649a2179158e777467ad2e0a05 /chrome
parente320dbc21f3d9a1fd352eec83a6937632d7f22aa (diff)
downloadchromium_src-b8e6654fb91108033580f510e2d411093936fc2f.zip
chromium_src-b8e6654fb91108033580f510e2d411093936fc2f.tar.gz
chromium_src-b8e6654fb91108033580f510e2d411093936fc2f.tar.bz2
Slightly better docs for the convert_dict tool.
BUG=none TEST=none Review URL: http://codereview.chromium.org/6339007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72051 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/tools/convert_dict/convert_dict.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/tools/convert_dict/convert_dict.cc b/chrome/tools/convert_dict/convert_dict.cc
index 6b4ab17..32bfb90 100644
--- a/chrome/tools/convert_dict/convert_dict.cc
+++ b/chrome/tools/convert_dict/convert_dict.cc
@@ -76,8 +76,8 @@ bool VerifyWords(const convert_dict::DicReader::WordList& org_words,
int PrintHelp() {
printf("Usage: convert_dict <dicfile base name>\n\n");
printf("Example:\n");
- printf(" convert_dict en-US\nwill read en-US.dic / en-US.aff and\n");
- printf("generate en-US.bdic\n\n");
+ printf(" convert_dict en-US\nwill read en-US.dic, en-US.dic_delta, and "
+ "en-US.aff from the current directory and generate en-US.bdic\n\n");
return 1;
}
@@ -107,6 +107,7 @@ int main(int argc, char* argv[]) {
FilePath dic_path = file_base.ReplaceExtension(FILE_PATH_LITERAL(".dic"));
printf("Reading %" PRFilePath " ...\n", dic_path.value().c_str());
+ // DicReader will also read the .dic_delta file.
convert_dict::DicReader dic_reader(dic_path);
if (!dic_reader.Read(&aff_reader)) {
printf("Unable to read the dic file.\n");