mte/unikernel/duniverse/dune_/test/blackbox-tests/test-cases/github3530.t
2025-11-11 02:07:51 +01:00

16 lines
543 B
Perl

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]