dupfinder.exe - exclude-by-comment


I can't get dupfinder get to work with the exclude-by-comment parameter:

Let's say, I have a Class like:

 * CodeInspection
// CodeInspection

using System;
using log4net;

     * CodeInspection
    // CodeInspection
    public static class NationalityManager {

// c# code with duplicates


I'm using this call:

dupfinder.exe duplocates.sln --o="out.xml" --discard-cost=70 --discard-literals --exlude-by-comment="CodeInspection"

But NationalityManager is still present in the findings. What am I doing wrong?

1 comment
Comment actions Permalink
Official comment

Hello Markus,

As I see there is a typo in cmd key: "exlude" instead of "exclude".


Please sign in to leave a comment.