This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
|
|
@ -0,0 +1,16 @@
|
|||
When an empty string is passed to `-p`, we get a nice error message.
|
||||
|
||||
$ echo '(lang dune 2.0)' > dune-project
|
||||
$ dune build -p ''
|
||||
dune: option '--only-packages': Invalid package name: ""
|
||||
Usage: dune build [OPTION]… [TARGET]…
|
||||
Try 'dune build --help' or 'dune --help' for more information.
|
||||
[1]
|
||||
|
||||
This can happen in a list as well:
|
||||
|
||||
$ dune build -p 'a,b,'
|
||||
dune: option '--only-packages': Invalid package name: ""
|
||||
Usage: dune build [OPTION]… [TARGET]…
|
||||
Try 'dune build --help' or 'dune --help' for more information.
|
||||
[1]
|
||||
Loading…
Add table
Add a link
Reference in a new issue