]> _ Git - alire.git/commit
Handle config switch missing argument exceptions (#1619)
authorFrancesc Rocher <rocher@users.noreply.github.com>
Sat, 9 Mar 2024 13:47:22 +0000 (14:47 +0100)
committerGitHub <noreply@github.com>
Sat, 9 Mar 2024 13:47:22 +0000 (14:47 +0100)
commitfe485e3a5c22eaa5e7cb85344430b223b396403c
tree51dd37d3af464aa58ec188eeac20c59eebb94cd6
parentd302de27ee38234d27e3e2255683968be5d91f25
Handle config switch missing argument exceptions (#1619)

Both 'alr -c' and 'alr --config' throw exceptions because a required
parameter is missing.

This fix handle missing parameter of config switch in the same way as, for
example, 'alr -C' and 'alr --chdir': an error message informs the user that a
required parameter is missing.
src/alire/alire_early_elaboration.adb
testsuite/tests/config/missing-config-path/test.py [new file with mode: 0644]
testsuite/tests/config/missing-config-path/test.yaml [new file with mode: 0644]