Make diff(1) follow traditional UNIX SOP of later options nullify earlier
options that are mutually exclusive.
This commit is contained in:
parent
441d901f19
commit
28832e4b79
@ -785,9 +785,6 @@ static void
|
|||||||
specify_style (style)
|
specify_style (style)
|
||||||
enum output_style style;
|
enum output_style style;
|
||||||
{
|
{
|
||||||
if (output_style != OUTPUT_NORMAL
|
|
||||||
&& output_style != style)
|
|
||||||
error ("conflicting specifications of output style", 0, 0);
|
|
||||||
output_style = style;
|
output_style = style;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user