From: Clifford Wolf Date: Fri, 7 Feb 2014 13:16:42 +0000 (+0100) Subject: Fixed use of "cmd_error" in passes/cmds/design.cc X-Git-Tag: yosys-0.2.0~54 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=366dcd3abf4987b020eac49e1947086be3214cc3;p=yosys.git Fixed use of "cmd_error" in passes/cmds/design.cc --- diff --git a/passes/cmds/design.cc b/passes/cmds/design.cc index c28a3a49f..80a6c0731 100644 --- a/passes/cmds/design.cc +++ b/passes/cmds/design.cc @@ -128,7 +128,7 @@ struct DesignPass : public Pass { if (copy_from_design != NULL) { if (copy_from_design != design && argidx == args.size()) - cmd_error(args, argidx, "Missing selection.\n"); + cmd_error(args, argidx, "Missing selection."); RTLIL::Selection sel = design->selection_stack.back(); if (argidx != args.size()) { @@ -151,7 +151,7 @@ struct DesignPass : public Pass { extra_args(args, argidx, design, false); if (!got_mode) - cmd_error(args, argidx, "Missing mode argument (-reset, -save, -load, -copy-from, or -copy-to).\n"); + cmd_error(args, argidx, "Missing mode argument (-reset, -save, -load, -copy-from, or -copy-to)."); if (copy_to_design != NULL) {