summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlexander Færøy <ahf@0x90.dk>2016-02-28 21:59:12 +0100
committerAlexander Færøy <ahf@0x90.dk>2016-02-28 23:57:01 +0100
commitda39732fd3ce2488a81c8eb2e713a0726beef939 (patch)
treebda70e27c7940b2714b196ad236a690004c06cd3 /src
parenta0b2c743566fcfae543ba758b954ec465db6fcfd (diff)
Add short-options to the eunit provider.
This patch adds support for short options in the eunit provider.
Diffstat (limited to 'src')
-rw-r--r--src/rebar_prv_eunit.erl8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/rebar_prv_eunit.erl b/src/rebar_prv_eunit.erl
index abfab8a..c085ee4 100644
--- a/src/rebar_prv_eunit.erl
+++ b/src/rebar_prv_eunit.erl
@@ -457,10 +457,10 @@ eunit_opts(_State) ->
[{app, undefined, "app", string, help(app)},
{application, undefined, "application", string, help(app)},
{cover, $c, "cover", boolean, help(cover)},
- {dir, undefined, "dir", string, help(dir)},
- {file, undefined, "file", string, help(file)},
- {module, undefined, "module", string, help(module)},
- {suite, undefined, "suite", string, help(module)},
+ {dir, $d, "dir", string, help(dir)},
+ {file, $f, "file", string, help(file)},
+ {module, $m, "module", string, help(module)},
+ {suite, $s, "suite", string, help(module)},
{verbose, $v, "verbose", boolean, help(verbose)}].
help(app) -> "Comma separated list of application test suites to run. Equivalent to `[{application, App}]`.";