| Summary: | confusing error message about valid command line option | ||
|---|---|---|---|
| Product: | [Developer tools] valgrind | Reporter: | Florian Krohm <flo2030> |
| Component: | general | Assignee: | Julian Seward <jseward> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | mark, pjfloyd |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | Modify VG_BOOL_CLOM to print error if there is no "=something" | ||
|
Description
Florian Krohm
2015-08-27 14:25:11 UTC
I've been bitten by this a few times as well. Created attachment 153677 [details]
Modify VG_BOOL_CLOM to print error if there is no "=something"
regtest clean, 5 new none/tests/cmdline* added
Patch looks good to me. Thanks. + VG_(fmsg_bad_option)(qq_arg, + "Missing boolean value, did you mean '%s=yes'?\n", + qq_arg); We could consider (as a followup?) to just interpret this as =yes instead of having a warning. Please just remove the old #define VG_BOOL_CLOM instead of #if 0 ... Fixed To ssh://sourceware.org/git/valgrind.git ea9199739..ac6d9faf4 master -> master I'll look at defaulting to 'yes' later. |