]> _ Git - alire.git/commit
Use hyphens for action usage output (#1249)
authorPiotr Orzechowski <piotr@orzechowski.tech>
Thu, 24 Nov 2022 06:38:49 +0000 (07:38 +0100)
committerGitHub <noreply@github.com>
Thu, 24 Nov 2022 06:38:49 +0000 (07:38 +0100)
commit5962cabe1fbdcdb83360c3ca60d5672f743e4b57
treef3ea97cc0e8e4a24a2b84a2e53d4acefdbb917c5
parent2d8fab44939cfc2b32bc0693ed75a6f5141b3252
Use hyphens for action usage output (#1249)

Currently action usage output looks like:
`alr action [options] [post_fetch|pre_build|post_build|test]`,
but it should look like:
`alr action [options] [post-fetch|pre-build|post-build|test]`,
because TOML expects keys to be hyphenated.

This commit fixes the problem by replacing underscores with hyphens.
src/alr/alr-commands-action.adb