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

args: add new UnknownCommandError type #2178

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Aug 19, 2024

  1. args: add new UnknownCommandError type

    This commit makes unknown commands a proper error type so that
    the caller can check for this specific error type without having
    to do string comparisons.
    
    This is useful in the context of spf13#823
    
    Signed-off-by: Michael Vogt <mvogt@redhat.com>
    Signed-off-by: Michael Vogt <michael.vogt@gmail.com>
    mvo5 committed Aug 19, 2024
    Configuration menu
    Copy the full SHA
    a75c389 View commit details
    Browse the repository at this point in the history