From 115acbd785600b07c860a37fce9f1b42b52ea1f4 Mon Sep 17 00:00:00 2001 From: Ryan Plessner Date: Mon, 12 Jan 2015 10:30:55 -0500 Subject: [PATCH] changed -e to -n so as not to collide with any flags in raco test --- raco.rkt | 2 +- scribblings/basics.scrbl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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.}