From 7cc50b230deb58703cd2d4df77fadcbb83fb14b3 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 22 Mar 2013 14:39:02 +0200 Subject: Rename --output-name to --input-name --- odb/odb.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'odb/odb.cxx') 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. // -- cgit v1.1