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
commit88827bde7abd9745fb0437a299e0bb6ad96babe6 (patch)
treeea9a838d19f14c1fdf53f2711644c43d506888bd /decoder/cfg_options.h
parent1109095a09368ae29d6aa367334db6512b677f54 (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);