alire icon indicating copy to clipboard operation
alire copied to clipboard

Accept '-' in crate names in CLI by noting that '_' is expected

Open mosteo opened this issue 8 months ago • 0 comments

Discussed in https://github.com/alire-project/alire/discussions/1698

Originally posted by kwolcott June 15, 2024 suggestion regarding the error message when using alr with: "underscores" are also allowed

alr --no-color with gnatcoll-gmp ERROR: Invalid name 'gnatcoll-gmp': Identifiers must be lowercase ASCII alphanumerical. You can see the complete identifier naming rules with 'alr help identifiers' hamming: alr help

The following works: hamming: alr --no-color with gnatcoll_gmp

mosteo avatar Jun 17 '24 15:06 mosteo