diff --git a/kcidev/subcommands/results.py b/kcidev/subcommands/results.py index 9b3bb55..dd8a8db 100644 --- a/kcidev/subcommands/results.py +++ b/kcidev/subcommands/results.py @@ -175,6 +175,7 @@ def cmd_builds(data, commit, download_logs, status): ) @click.option( "--action", + type=click.Choice(["summary", "trees", "builds"], case_sensitive=True), help="Select desired results action", ) @click.option( @@ -189,6 +190,7 @@ def cmd_builds(data, commit, download_logs, status): ) @click.option( "--status", + type=click.Choice(["ERROR", "SKIP", "MISS", "DONE", "NULL"]), help="Status of test result: all, pass, fail, inconclusive", default="all", )