Commit b8e6654f authored by estade@chromium.org's avatar estade@chromium.org

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
parent e320dbc2
......@@ -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");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment