This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
|
|
@ -0,0 +1,49 @@
|
|||
$ dune runtest --display short
|
||||
diff alias runtest
|
||||
diff alias runtest
|
||||
|
||||
Test that incompatible options are properly reported
|
||||
----------------------------------------------------
|
||||
|
||||
$ dune build --verbose --display quiet
|
||||
dune: Cannot use --verbose and --display simultaneously
|
||||
Usage: dune build [OPTION]… [TARGET]…
|
||||
Try 'dune build --help' or 'dune --help' for more information.
|
||||
[1]
|
||||
|
||||
$ dune build -p toto --root .
|
||||
dune: option '--root' cannot be repeated
|
||||
Usage: dune build [OPTION]… [TARGET]…
|
||||
Try 'dune build --help' or 'dune --help' for more information.
|
||||
[1]
|
||||
|
||||
$ dune build --for-release-of-packages toto --root .
|
||||
dune: option '--root' cannot be repeated
|
||||
Usage: dune build [OPTION]… [TARGET]…
|
||||
Try 'dune build --help' or 'dune --help' for more information.
|
||||
[1]
|
||||
|
||||
$ dune build --no-config --config x
|
||||
dune: Cannot use --config and --no-config simultaneously
|
||||
Usage: dune build [OPTION]… [TARGET]…
|
||||
Try 'dune build --help' or 'dune --help' for more information.
|
||||
[1]
|
||||
|
||||
$ dune build -p toto --release
|
||||
dune: option '--root' cannot be repeated
|
||||
Usage: dune build [OPTION]… [TARGET]…
|
||||
Try 'dune build --help' or 'dune --help' for more information.
|
||||
[1]
|
||||
|
||||
$ dune build --release --root .
|
||||
dune: option '--root' cannot be repeated
|
||||
Usage: dune build [OPTION]… [TARGET]…
|
||||
Try 'dune build --help' or 'dune --help' for more information.
|
||||
[1]
|
||||
|
||||
Allowed combinations
|
||||
--------------------
|
||||
|
||||
$ dune build --release --only-packages toto
|
||||
|
||||
$ dune build --release --only-packages toto --profile foo
|
||||
Loading…
Add table
Add a link
Reference in a new issue