diff --git a/raco.rkt b/raco.rkt index 7dada0a..fcebfb5 100644 --- a/raco.rkt +++ b/raco.rkt @@ -36,7 +36,7 @@ "exclude info.rkt, the tests directory, and the scribblings directory from the coverage report" (set! exclude-paths (append '("info.rkt" "tests" "scribblings") exclude-paths))] #:multi - [("-e" "--exclude-from-output") t + [("-n" "--no-output-for-path") t "exclude any paths named this from the coverage report." (set! exclude-paths (cons t exclude-paths))] [("-i" "--include-extensions") f diff --git a/scribblings/basics.scrbl b/scribblings/basics.scrbl index ac4384d..3c6f1c2 100644 --- a/scribblings/basics.scrbl +++ b/scribblings/basics.scrbl @@ -23,11 +23,11 @@ The @exec{raco cover} command accepts the following flags: @item{raw: @racket[write]s the raw output @racket[get-test-coverage] to the output file.}]} @item{@Flag{b} or @DFlag{exclude-pkg-basics} - Equivalent to @exec{-e tests -e info.rkt -e scribblings}} + Equivalent to @exec{-n tests -n info.rkt -n scribblings}} @item{@Flag{d} or @DFlag{directory} --- Specifies the directory to output coverage information to. defaults to @filepath{coverage}.} - @item{@Flag{e} or @DFlag{exclude-from-output} + @item{@Flag{n} or @DFlag{--no-output-for-path} --- excludes any directories by name from the coverage report. Files in these directories are still run, they are just excluded from the outputted coverage. This flag may appear any number of times.}