Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cli: return an errors if testing #260

Merged
merged 1 commit into from
Sep 26, 2023
Merged

Commits on Sep 26, 2023

  1. cli: return errors when building from strings

    Fixes: retis-org#259
    build_from() should only be used directly by unit tests.
    It would be private if it wasn't needed in other modules for testing
    purposes.
    
    It always returns an error. However, build(), which is called by main(),
    exits the program based on that error using clap.
    
    Signed-off-by: Adrian Moreno <[email protected]>
    amorenoz committed Sep 26, 2023
    Configuration menu
    Copy the full SHA
    633531f View commit details
    Browse the repository at this point in the history