changed -e to -n so as not to collide with any flags in raco test

This commit is contained in:
Ryan Plessner 2015-01-12 10:30:55 -05:00
parent 6aae9b70f8
commit 115acbd785
2 changed files with 3 additions and 3 deletions

View File

@ -36,7 +36,7 @@
"exclude info.rkt, the tests directory, and the scribblings directory from the coverage report" "exclude info.rkt, the tests directory, and the scribblings directory from the coverage report"
(set! exclude-paths (append '("info.rkt" "tests" "scribblings") exclude-paths))] (set! exclude-paths (append '("info.rkt" "tests" "scribblings") exclude-paths))]
#:multi #:multi
[("-e" "--exclude-from-output") t [("-n" "--no-output-for-path") t
"exclude any paths named this from the coverage report." "exclude any paths named this from the coverage report."
(set! exclude-paths (cons t exclude-paths))] (set! exclude-paths (cons t exclude-paths))]
[("-i" "--include-extensions") f [("-i" "--include-extensions") f

View File

@ -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 @item{raw: @racket[write]s the raw output @racket[get-test-coverage] to the
output file.}]} output file.}]}
@item{@Flag{b} or @DFlag{exclude-pkg-basics} @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} @item{@Flag{d} or @DFlag{directory}
--- Specifies the directory to output coverage information to. --- Specifies the directory to output coverage information to.
defaults to @filepath{coverage}.} 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. --- excludes any directories by name from the coverage report.
Files in these directories are still run, they are just excluded from the Files in these directories are still run, they are just excluded from the
outputted coverage. This flag may appear any number of times.} outputted coverage. This flag may appear any number of times.}