Skip to content

Conversation

@nuclearcat
Copy link
Member

@nuclearcat nuclearcat added the staging-skip Don't test automatically on staging.kernelci.org label Dec 13, 2025
@nuclearcat nuclearcat removed the staging-skip Don't test automatically on staging.kernelci.org label Dec 24, 2025
i += 1
# Collect values until we hit another option or end
while i < len(argv):
if argv[i].startswith("--"):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you are also missing

if argv[i] in known_commands:
    break

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, fixing it now.
I have temptation to rewrite it to normal argparse or click, this custom parser initially was big pain.

Required by kernelci/kernelci-pipeline#1396

Signed-off-by: Denys Fedoryshchenko <denys.f@collabora.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants