-
Notifications
You must be signed in to change notification settings - Fork 470
Dune init's --public doesn't allow dashes #7108
Copy link
Copy link
Closed
ocaml/opam-repository
#24510Description
Expected Behavior
Dune init's --public can take names with dashes in them.
Actual Behavior
An error explaining only characters [a-zA-Z0-9_] are allowed.
Reproduction
$ dune init lib mirage_pair --public mirage-pair
dune: option '--public': invalid component name `mirage-pair'
Library names must be non-empty and composed only of the
following
characters: 'A'..'Z', 'a'..'z', '_' or '0'..'9'.
Usage: dune init library [OPTION]… NAME [PATH]
Try 'dune init library --help' or 'dune --help' for more information.Specifications
- Version of
dune(output ofdune --version): 3.6.1 - Version of
ocaml(output ofocamlc --version) 4.14.0 - Operating system (distribution and version): debian 11.6
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels