GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||
GeezerVison is showing github.com — fix: match GNU error format for unrecognized options by Ryujiyasu · Pull Request #180 · uutils/diffutils Conversation
Contributor
SummaryFollow-up to #178 / #179. Adjusts the unrecognized option error message to match the actual GNU diff/cmp output format:
Before: As pointed out by @GunterSchmidt in #178 (comment). Test plan
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
GunterSchmidt
approved these changes
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Looks good! Thanks.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Use single quotes and remove colon to match GNU diff/cmp output: `unrecognized option '--foobar'` instead of `unrecognized option: "--foobar"` Also use `contains` instead of `starts_with` in the integration test to handle the command prefix (e.g. `cmp: unrecognized option ...`). Follow-up to uutils#178 / uutils#179. Co-Authored-By: Claude Opus 4.6 <[email protected]> Co-Authored-By: Claude Opus 4.6 <[email protected]>
sylvestre
force-pushed
the
fix/unrecognized-option-format
branch
from
e6a28ea to
5398c6d
Compare
|
There was an error while loading. Please reload this page.
|
The change looks harmless. I haven't been paying much attention to uutils/diffutils lately, and I'm having a hard time parsing the following things:
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@ ## main #180 +/- ## =========================== =========================== ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.