diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2013-03-22 14:39:02 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2013-04-10 18:46:44 +0200 |
commit | 7cc50b230deb58703cd2d4df77fadcbb83fb14b3 (patch) | |
tree | fdae7f6397993c0a8b550db47fc9059a4360668c /odb/odb.cxx | |
parent | 289c09c718c00b364cc2cb156ac1f8b402e4d2d3 (diff) |
Rename --output-name to --input-name
Diffstat (limited to 'odb/odb.cxx')
-rw-r--r-- | odb/odb.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/odb/odb.cxx b/odb/odb.cxx index 74ef5a4..93927b8 100644 --- a/odb/odb.cxx +++ b/odb/odb.cxx @@ -753,9 +753,9 @@ main (int argc, char* argv[]) bool at_once (ops.at_once () && plugin_args.size () - end > 1); if (at_once) { - if (ops.output_name ().empty ()) + if (ops.input_name ().empty ()) { - e << "error: --output-name required when compiling multiple " << + e << "error: --input-name required when compiling multiple " << "input files at once (--at-once)" << endl; return 1; } @@ -783,7 +783,7 @@ main (int argc, char* argv[]) // for (; end < plugin_args.size (); ++end) { - string name (at_once ? ops.output_name () : plugin_args[end]); + string name (at_once ? ops.input_name () : plugin_args[end]); // Set the --svc-file option. // |