Repository navigation
diff: match GNU command-line error messages - #437
draarivpatel-ui wants to merge 2 commits into
Conversation
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.
…efix # Conflicts: # src/params.rs
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.
GNU diff prefixes every command-line error with the program name and adds
diff: Try 'diff --help' for more information.to usage errors. uutils printed the bare messages fromparse_params, e.g.unrecognized option '--bogus'.Errors raised while parsing options now go through a
usage_errorhelper that produces the GNU two-line format (extra_operandalready emitted it; it is now shared). Errors from-Fpattern compilation keep only the prefix, as GNU does for fatal errors.Conflicting output style optionsis lowercased to GNU'sconflicting output style options.Closes #394