https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243975

--- Comment #2 from fehmi noyan isi <fnoyan...@yahoo.com> ---
Created attachment 211687
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=211687&action=edit
patch for diff.c and tests/diff_test.sh

Added a new test case to check conflicting formatting options (more can be
added) and removed one of the atf tests from unified_body() (see the email [1])

The patch adds a check when a formatting option is encountered and when
multiple options are used, it writes a message to stderr, displays the usage
and exists.

This will align the behaviour with GNU diff 

[1]
https://lists.freebsd.org/pipermail/freebsd-hackers/2020-February/055646.html

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to