From 366dcd3abf4987b020eac49e1947086be3214cc3 Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Fri, 7 Feb 2014 14:16:42 +0100 Subject: [PATCH] Fixed use of "cmd_error" in passes/cmds/design.cc --- passes/cmds/design.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) { -- 2.30.2