summaryrefslogtreecommitdiff
path: root/decoder/cfg_options.h
diff options
context:
space:
mode:
authorgraehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-08-11 01:02:02 +0000
committergraehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-08-11 01:02:02 +0000
commit916944c8f234cbd4bdc06e5079f678f1835df426 (patch)
tree03920fa4a5c58c0eda68f0d1693b4fa289b749e1 /decoder/cfg_options.h
parent49eb2dddac93654388d4a889414dc10db1fb8998 (diff)
only print cfg once
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@505 ec762483-ff6d-05da-a07a-a48fb63a330f
Diffstat (limited to 'decoder/cfg_options.h')
-rwxr-xr-xdecoder/cfg_options.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/decoder/cfg_options.h b/decoder/cfg_options.h
index bc7fed5f..cbbe3b42 100755
--- a/decoder/cfg_options.h
+++ b/decoder/cfg_options.h
@@ -33,6 +33,7 @@ struct CFGOptions {
}
void maybe_output(HgCFG &hgcfg) {
if (cfg_output.empty()) return;
+ std::cerr<<"Printing CFG to "<<cfg_output<<": "<<format<<'\n';
WriteFile o(cfg_output);
maybe_binarize(hgcfg);
hgcfg.GetCFG().Print(o.get(),format);