aboutsummaryrefslogtreecommitdiff
path: root/odb/generator.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2013-03-22 14:39:02 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2013-04-10 18:46:44 +0200
commit7cc50b230deb58703cd2d4df77fadcbb83fb14b3 (patch)
treefdae7f6397993c0a8b550db47fc9059a4360668c /odb/generator.cxx
parent289c09c718c00b364cc2cb156ac1f8b402e4d2d3 (diff)
Rename --output-name to --input-name
Diffstat (limited to 'odb/generator.cxx')
-rw-r--r--odb/generator.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/odb/generator.cxx b/odb/generator.cxx
index dfc5ba6..616190b 100644
--- a/odb/generator.cxx
+++ b/odb/generator.cxx
@@ -119,9 +119,9 @@ generate (options const& ops,
//
fs::auto_removes auto_rm;
- path file (ops.output_name ().empty ()
+ path file (ops.input_name ().empty ()
? p.leaf ()
- : path (ops.output_name ()).leaf ());
+ : path (ops.input_name ()).leaf ());
string base (file.base ().string ());
string hxx_name (base + ops.odb_file_suffix ()[db] + ops.hxx_suffix ());