Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

Catch argparse type errors #911

Merged
6 commits merged into from
May 24, 2021
Merged

Conversation

bmc-msft
Copy link
Contributor

Catch argparse argument type errors and display them in a simplified fashion.

As an example, this is how the output is rendered.

❯ onefuzz template libfuzzer basic --target_env  ASAN_OPTIONS=allocator_may_return_null=1 a a a linux
unable to parse arguments: unable to parse value as a key=value pair: 'a'   
❯

Note, this builds upon #910.

@ghost
Copy link

ghost commented May 21, 2021

Hello @bmc-msft!

Because this pull request has the auto-merge label, I will be glad to assist with helping to merge this pull request once all check-in policies pass.

Do note that I've been instructed to only help merge pull requests of this repository that have been opened for at least 18 hours, a condition that will be fulfilled in about 14 hours 24 minutes. No worries though, I will be back when the time is right! 😉

p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (@msftbot) and give me an instruction to get started! Learn more here.

@ghost ghost merged commit db4c03e into microsoft:main May 24, 2021
@bmc-msft bmc-msft deleted the catch-argparse-type-errors branch May 24, 2021 19:26
@ghost ghost locked as resolved and limited conversation to collaborators Jun 24, 2021
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants