Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5396)

Unified Diff: chrome/tools/convert_dict/convert_dict.cc

Issue 6339007: Slightly better docs for the convert_dict tool. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: no dollar bill Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/tools/convert_dict/convert_dict.cc
diff --git a/chrome/tools/convert_dict/convert_dict.cc b/chrome/tools/convert_dict/convert_dict.cc
index 6b4ab1716aa5399f483a13eb87a92ddbc9abba9c..32bfb90c2ef26b821d9aa56a0cf58e112758c9ac 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");
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698